1
0
mirror of https://github.com/git-touch/git-touch synced 2025-02-16 03:20:58 +01:00

26 lines
759 B
Dart
Raw Normal View History

2020-02-07 14:17:05 +08:00
// import 'package:flutter/material.dart';
// import 'package:git_touch/models/theme.dart';
// import 'package:git_touch/scaffolds/common.dart';
// import 'package:photo_view/photo_view.dart';
// import 'package:provider/provider.dart';
2019-11-02 21:44:26 +08:00
2020-02-07 14:17:05 +08:00
// class ImageViewScreen extends StatelessWidget {
// final String url;
// final Widget title;
2019-11-02 21:44:26 +08:00
2020-02-07 14:17:05 +08:00
// ImageViewScreen(this.url, {this.title = const Text('Image')});
2019-11-02 21:44:26 +08:00
2020-02-07 14:17:05 +08:00
// @override
// Widget build(BuildContext context) {
// final theme = Provider.of<ThemeModel>(context);
2019-11-05 21:22:41 +08:00
2020-02-07 14:17:05 +08:00
// return CommonScaffold(
// title: title,
// body: PhotoView(
// imageProvider: NetworkImage(url),
// backgroundDecoration: BoxDecoration(color: theme.palette.background),
// ),
// );
// }
// }