onRoutes method

Map<String, WidgetBuilder>? onRoutes()
inherited

Returns a Map of Routes if any.

Implementation

Map<String, WidgetBuilder>? onRoutes() =>
    // _routes is redundant, but then allows a Routes list provided to a Route Delegate!
    _routes ?? inRoutes?.call() ?? const <String, WidgetBuilder>{};