flutter_xlider
flutter_xlider copied to clipboard
On first time Widget build method slider isn't fully rendered
When I'm changing my views on Bottom navigation bar to view where xlider is located, at initial build slider doesn't take necessary sizes and values. For a millisecond xlider initializes and after that takes real proportions with needed values.
After switching for multiple times between pages, these micro differences at start does make bad UX overall.
I've noticed this too. A quick fix/hack is to use the FadeIn package (https://pub.dev/packages/flutter_fadein) and set the duration to a couple of milliseconds. That way, the xlider is invisible when it's formatting itself on the first few frames.
same problems.....
Same issue here, hacked around it with AnimatedOpacity to fade in after 200ms.