2020-02-07 07:17:05 +01: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 14:44:26 +01:00
|
|
|
|
2020-02-07 07:17:05 +01:00
|
|
|
// class ImageViewScreen extends StatelessWidget {
|
|
|
|
// final String url;
|
|
|
|
// final Widget title;
|
2019-11-02 14:44:26 +01:00
|
|
|
|
2020-02-07 07:17:05 +01:00
|
|
|
// ImageViewScreen(this.url, {this.title = const Text('Image')});
|
2019-11-02 14:44:26 +01:00
|
|
|
|
2020-02-07 07:17:05 +01:00
|
|
|
// @override
|
|
|
|
// Widget build(BuildContext context) {
|
|
|
|
// final theme = Provider.of<ThemeModel>(context);
|
2019-11-05 14:22:41 +01:00
|
|
|
|
2020-02-07 07:17:05 +01:00
|
|
|
// return CommonScaffold(
|
|
|
|
// title: title,
|
|
|
|
// body: PhotoView(
|
|
|
|
// imageProvider: NetworkImage(url),
|
|
|
|
// backgroundDecoration: BoxDecoration(color: theme.palette.background),
|
|
|
|
// ),
|
|
|
|
// );
|
|
|
|
// }
|
|
|
|
// }
|