routes property
A map of named routes.
Each key is a route name (e.g., '/settings') and each value
is a builder function that creates the route's widget.
Implementation
final Map<String, Widget Function(BuildContext)>? routes;
A map of named routes.
Each key is a route name (e.g., '/settings') and each value
is a builder function that creates the route's widget.
final Map<String, Widget Function(BuildContext)>? routes;