MiddlewareRunner class

Manages and executes GetMiddleware in a prioritized order.

Constructors

MiddlewareRunner.new(List<GetMiddleware>? middlewares)
Creates a MiddlewareRunner and sorts middlewares by priority.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runOnBindingsStart<R>(List<R>? bindings) List<R>?
Runs the onBindingsStart hook in sequence.
runOnPageBuildStart(GetPageBuilder? page) GetPageBuilder?
Runs the onPageBuildStart hook in sequence.
runOnPageBuilt(Widget page) Widget
Runs the onPageBuilt hook in sequence.
runOnPageCalled(GetPage? page) GetPage?
Runs the onPageCalled hook in sequence.
runOnPageDispose() → void
Runs the onPageDispose hook in sequence.
runRedirect(String? route) RouteSettings?
Runs the redirect hook in sequence.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited