Set min scale for zoom
This commit is contained in:
@@ -79,6 +79,7 @@ class _DetailPageState extends State<DetailPage> {
|
||||
return PhotoView(
|
||||
imageProvider: image.image,
|
||||
scaleStateChangedCallback: scaleStateChangedCallback,
|
||||
minScale: PhotoViewComputedScale.contained,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user