diff --git a/lib/widget/fileViewer.dart b/lib/widget/fileViewer.dart index 72d0ea3..5907aa2 100644 --- a/lib/widget/fileViewer.dart +++ b/lib/widget/fileViewer.dart @@ -78,6 +78,8 @@ class _FileViewerState extends State<FileViewer> { backgroundColor: Colors.white, body: PhotoView( controller: photoViewController, + maxScale: 3.0, + minScale: 0.1, imageProvider: Image.file(File(widget.path)).image, backgroundDecoration: BoxDecoration(color: Theme.of(context).colorScheme.surface), )