Is there a way to create a transition between indexed stacks in flutter?
By default AnimatedSwitcher runs a fade-in transition. You can explore transitionBuilder property to run custom animation.
You might also want to take a look at AnimatedCrossFade if you need to switch only between 2 widgets.
1 2 3 4 | AnimatedSwitcher( duration: Duration(milliseconds: 300), child: _indexedArray[_index], ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.