setState() called after dispose() is being thrown when I'm trying to add an item to a List<PhotoViewGalleryPageOptions>
My Setup:
return PhotoViewGallery(
pageOptions: List<PhotoViewGalleryPageOptions>
);
And I'm doing setState() on every page change - onPageChanged()
I think we should use a builder pattern instead of a list.
Added the builder constructor on #119 and published in the version 0.2.3.
Most helpful comment
I think we should use a
builderpattern instead of a list.