We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 529251d commit 7b7cc1bCopy full SHA for 7b7cc1b
README.md
@@ -72,7 +72,7 @@ Widget build(BuildContext context) {
72
return PhotoViewGalleryPageOptions(
73
imageProvider: AssetImage(widget.galleryItems[index].image),
74
initialScale: PhotoViewComputedScale.contained * 0.8,
75
- heroAttributes: HeroAttributes(tag: galleryItems[index].id),
+ heroAttributes: PhotoViewHeroAttributes(tag: galleryItems[index].id),
76
);
77
},
78
itemCount: galleryItems.length,
0 commit comments