fix preloading in the gallery mode

* upgraded photo_view to 0.13.0
* reference: https://github.com/bluefireteam/photo_view/issues/457

Signed-off-by: ImFatF1sh <imfatf1sh@protonmail.com>
This commit is contained in:
ImFatF1sh 2021-12-15 16:08:49 +08:00 committed by niuhuan
parent 0e998ba3b5
commit 2c27620832
3 changed files with 3 additions and 2 deletions

View File

@ -1472,6 +1472,7 @@ class _GalleryReaderState extends _ImageReaderContentState {
},
);
},
allowImplicitScrolling: true,
);
gallery = GestureDetector(
child: gallery,

View File

@ -237,7 +237,7 @@ packages:
name: photo_view
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.0"
version: "0.13.0"
plugin_platform_interface:
dependency: transitive
description:

View File

@ -39,7 +39,7 @@ dependencies:
filesystem_picker: ^2.0.0-nullsafety.0
url_launcher: ^6.0.9
clipboard: ^0.1.3
photo_view: ^0.12.0
photo_view: ^0.13.0
multi_select_flutter: ^4.0.0
flutter_datetime_picker: ^1.5.1
modal_bottom_sheet: ^2.0.0