WosLovesLife/flutter_flip_view

FlipView setState is called after dispose

Closed this issue · 1 comments

In certain conditions FlipView causes exception

setState() called after dispose()

which is thrown two times when I flip the card.
Details in the screenshot
1

In my case AnimateList has multiple flip items, being rebuild multiple times.
Sometimes items are build as flipviews, sometimes not.
Exception occurs when Flipview is removed from view.

When this.mounted check is applied no exception is thrown.
Thanks for the widget!

Thank you for your report and I've reviewed your RP, It's nice. I'll merge it and later release a new version