switchRoute property

void Function(String route) switchRoute
final

Switches the current route to the provided route by moving it from its previous position in the stack to the top or adding it to the top if it is not already present in the stack's history.

Implementation

final void Function(String route) switchRoute;