core.navigation library Null safety

Navigation and routing configuration

Classes

RouteArgs<T>
Route arguments class
ROUTES
All the app routes

Properties

Drawer menu configuration (You can edit it)
final

Functions

AuthGuard(BuildContext context, Widget widget) Widget
Guard: protect the access to screens (when the user is not authenticated)
onGenerateAppRoute(RouteSettings settings) Route
To use when custom route generation is needed, like when a screen needs some parameters
registerRoutes() Map<String, WidgetBuilder>
Map route to corresponding widget