NsgMiddleware class

Inheritance
  • Object
  • GetMiddleware
  • NsgMiddleware

Constructors

NsgMiddleware.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
initialPage String
getter/setter pair
pageParameters Map<String, String?>?
getter/setter pair
priority int
The Order of the Middlewares to run.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
getter/setter pair

Methods

initialBinding(String? route) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBindingsStart<R>(List<R>? bindings) List<R>?
This function will be called right before the BindingsInterface are initialize. Here you can change BindingsInterface for this page {@tool snippet}
inherited
onPageBuildStart(GetPageBuilder? page) → GetPageBuilder?
This function will be called right after the BindingsInterface are initialize.
override
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}
override
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(RouteDecoder route) FutureOr<RouteDecoder?>
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

Static Properties

instance NsgMiddleware
getter/setter pair
isFirstStep bool
getter/setter pair