RouterMiddleWare class
- Inheritance
-
- Object
- GetMiddleware
- RouterMiddleWare
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBindingsStart(
List< Bindings> ? bindings) → List<Bindings> ? -
This function will be called right before the
Bindingsare initialize. Here you can changeBindingsfor this page {@tool snippet}inherited -
onPageBuildStart(
GetPageBuilder? page) → GetPageBuilder? -
This function will be called right after the
Bindingsare initialize.inherited -
onPageBuilt(
Widget page) → Widget -
This function will be called right after the
GetPage.page function is called and will give you the result
of the function. and take the widget that will be showed.
inherited
-
onPageCalled(
GetPage? page) → GetPage? -
This function will be called when this Page is called
you can use it to change something about the page or give it new page
{@tool snippet}
inherited
-
onPageDispose(
) → void -
inherited
-
redirect(
String? route) → RouteSettings? -
This function will be called when the page of
the called route is being searched for.
It take RouteSettings as a result an redirect to the new settings or
give it null and there will be no redirecting.
{@tool snippet}
override
-
redirectDelegate(
GetNavConfig route) → Future< GetNavConfig?> -
Similar to redirect,
This function will be called when the router delegate changes the
current route.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited