currentRoute property

String? currentRoute
final

The url of the route to highlight as active.

If not specified, uses the url of the current Page.

Implementation

final String? currentRoute;