kodeco.com Forums

Flutter Navigation Tutorial

Learn about routes, navigation, and transitions for apps written using the Flutter cross-platform framework from Google.

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/110-flutter-navigation-tutorial

Is there a way to hide the source page as soon as the animation starts. I modified the custom transition to

transitionsBuilder: (_, Animation animation, __, Widget child) {
return new SlideTransition(
position:new Tween(begin: const Offset(0.0, 1.0), end: const Offset(0.0, 0.0)).animate(animation),
child: child

This gives me the slideup effect with custom timing, but as the new route is sliding up, i want to make the old route blank or just a white screen? Is there a way to do that easily?

Hi Manuj! Thank you for the question.

This page from the official Flutter docs may help answer your question: Fade a widget in and out | Flutter

We hope to do some more tutorials on Flutter soon and if we do we’ll try to incorporate a more direct answer to this question. Thanks again!

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!