routes property

Map<String, Widget Function(BuildContext)>? routes
final

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;