Flutter Navigator 2.0

Nov 8 2022 Dart 2.17.3, Flutter 3.0.2, Android Studio 2020.3

Part 3: Use the Navigation

10. Create Material Pages

Episode complete

Play next episode

Save for later
About this episode
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 9. Use the App Router Delegate Next episode: 11. Display the Splash Screen

This video Create Material Pages was last updated on Nov 8 2022

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a kodeco.com Professional subscription.

Episode 10 -Create Material Pages

The Navigator Widget that we return into BookRouterDelegate’s build method takes a Stack of Material Pages. We do not have any Material Page present at the moment. Let us create some MaterialPages from our Material Widget Screen that we have created. Open the Splash Screen that we have created. On the top above the constructor let us create a Static MaterialPage.

  static MaterialPage page() {
    return MaterialPage(
      name: BookPages.splashPath,
      key: ValueKey(BookPages.splashPath),
      child: const SplashScreen(),