Skip to content

Commit 7b7cc1b

Browse files
Fix hero attributes class on README (#350)
1 parent 529251d commit 7b7cc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Widget build(BuildContext context) {
7272
return PhotoViewGalleryPageOptions(
7373
imageProvider: AssetImage(widget.galleryItems[index].image),
7474
initialScale: PhotoViewComputedScale.contained * 0.8,
75-
heroAttributes: HeroAttributes(tag: galleryItems[index].id),
75+
heroAttributes: PhotoViewHeroAttributes(tag: galleryItems[index].id),
7676
);
7777
},
7878
itemCount: galleryItems.length,

0 commit comments

Comments
 (0)