removed hero for videos
This commit is contained in:
parent
a83b7a186b
commit
97f5f41579
1 changed files with 1 additions and 4 deletions
|
@ -50,10 +50,7 @@ class ImagePageState extends State<ImagePage> with AutomaticKeepAliveClientMixin
|
||||||
)
|
)
|
||||||
: SizedBox(),
|
: SizedBox(),
|
||||||
childSize: MediaQuery.of(galleryContext).size,
|
childSize: MediaQuery.of(galleryContext).size,
|
||||||
heroAttributes: PhotoViewHeroAttributes(
|
// no hero as most videos fullscreen image is different from its thumbnail
|
||||||
tag: entry.uri,
|
|
||||||
transitionOnUserGestures: true,
|
|
||||||
),
|
|
||||||
minScale: PhotoViewComputedScale.contained,
|
minScale: PhotoViewComputedScale.contained,
|
||||||
initialScale: PhotoViewComputedScale.contained,
|
initialScale: PhotoViewComputedScale.contained,
|
||||||
onTapUp: (tapContext, details, value) => widget.onTap?.call(),
|
onTapUp: (tapContext, details, value) => widget.onTap?.call(),
|
||||||
|
|
Loading…
Reference in a new issue