How to add animated transitions when changing Widget on BLoC pattern?

Posted by Andre Scott | Updated on

Want to add animated transitions when changing Widget on BLoC pattern? You can wrap the pages with AnimatedSwitcher:

By default it uses fade transition and animates old and new widgets in reverse order.


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.

Related Questions & Answers