Closed asavchuk closed 2 years ago
In the codelab the MaterialApp uses both home and initialRoute properties.
return MaterialApp( home: const HomePage(), initialRoute: '/login', onGenerateRoute: _getRoute, );
How does it relates to the cookbook's warning: When using initialRoute, don’t define a home property. https://flutter.dev/docs/cookbook/navigation/named-routes
Thanks for filing, this has been fixed and will be published shortly
In the codelab the MaterialApp uses both home and initialRoute properties.
How does it relates to the cookbook's warning: When using initialRoute, don’t define a home property. https://flutter.dev/docs/cookbook/navigation/named-routes