fix: auto scaling when final image is loaded case 2
When an image is magnified and a user is pressing down (onPressed) on the image, once the final image is loaded, the image auto scales
This commit is contained in:
parent
f14b499ffe
commit
8da57bd575
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ class _ZoomableImageState extends State<ZoomableImage>
|
|||
content = PhotoViewGestureDetectorScope(
|
||||
axis: Axis.vertical,
|
||||
child: PhotoView(
|
||||
key: ValueKey(_loadedFinalImage),
|
||||
imageProvider: _imageProvider,
|
||||
controller: _photoViewController,
|
||||
scaleStateController: _scaleStateController,
|
||||
|
|
Loading…
Add table
Reference in a new issue