diegoveloper / flutter_percent_indicator

Flutter percent indicator library
BSD 2-Clause "Simplified" License
679 stars 206 forks source link

Disruption lifecycle child of PageView that uses CircularPercentIndicator #135

Closed Chakib-Temal closed 2 years ago

Chakib-Temal commented 2 years ago

Hi I have a PageView which uses 8 Widgets

the widget that uses CircularPercentIndicator never dies, so when I jump to other pages and come back to the page where there is CircularPercentIndicator, initState is not executed again

when i remove CircularPercentIndicator from this Widget, the problem disappears

my widget don't use "with AutomaticKeepAliveClientMixin"

diegoveloper commented 2 years ago

https://github.com/diegoveloper/flutter_percent_indicator/blob/master/lib/circular_percent_indicator.dart#L76