smooth_page_indicator icon indicating copy to clipboard operation
smooth_page_indicator copied to clipboard

Performance Issue: SmoothPageIndicator is being rebuild very often =>janking

Open theemaster opened this issue 4 years ago • 1 comments

The SmoothPageIndicator widget is being rebuild several times which leads to janking while switching between different pages. It is even noticeable in the release version of the app.

child: SmoothPageIndicator( controller: controller, count: cards.length, effect: ExpandingDotsEffect( activeDotColor: kOnSelected, dotColor: kBackgroundColorSecondary, expansionFactor: 3, ), )

theemaster avatar Apr 13 '20 21:04 theemaster

@theemaster SmoothPageIndicator is an animated widget, it rebuilds every time the controller emits a new value. how does your complete setup look like?

Milad-Akarie avatar Apr 14 '20 09:04 Milad-Akarie

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

github-actions[bot] avatar Feb 12 '23 15:02 github-actions[bot]