initialRoute. The name of the first route to show, if a Navigator is built .
Read moreHow do you create a route in Flutter?
Flutter – Named Routes
Read moreHow do you change the route in Flutter?
To replace the top-most route, consider pushReplacement instead, which does animate the new route, and delays removing the old route until the new route has finished animating. The removed route is removed without being completed, so this method does not take a return value argument.
Read moreHow do you create a route in Flutter?
Flutter – Named Routes
Read moreWhat is initial route in Flutter?
The initialRoute property defines which route the app should start with . The routes property defines the available named routes and the widgets to build when navigating to those routes.
Read more