Merge pull request #86 from GetStream/hotfix/fullScreenImage

add back button
This commit is contained in:
Deven Joshi
2020-09-23 15:46:31 +05:30
committed by GitHub
+8 -2
View File
@@ -15,8 +15,14 @@ class FullScreenImage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
child: PhotoView(
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.black,
iconTheme: IconThemeData(
color: Colors.white,
),
),
body: PhotoView(
imageProvider: CachedNetworkImageProvider(url),
maxScale: PhotoViewComputedScale.covered,
minScale: PhotoViewComputedScale.contained,