currentRoute property
String
get
currentRoute
Get the current route of the page
Implementation
static String get currentRoute => _currentRoute;
set
currentRoute
(String newRoute)
Used to set the current route of the page
Do not use this directly, it is used by the compiler.
Implementation
static set currentRoute(String newRoute) {
_currentRoute = newRoute;
_controller.add(newRoute);
}