StackRouteBuilder class

Constructors

StackRouteBuilder({required Widget builder(BuildContext context, Map<String, String> args), bool maintainState = true, bool onBeforeEnter(String newRoute)?})

Properties

builder Widget Function(BuildContext context, Map<String, String> args)
A builder that can inject args into your views before they are built
final
hashCode int
The hash code for this object.
no setterinherited
maintainState bool
Indicates that this route should be cached in memory when it is not on-screen. This maintains all stateful widgets, textControllers, scrollers etc but consumes more RAM.
final
onBeforeEnter → (bool Function(String newRoute)?)
Will be called before this route is shown, you can return any substitute route to perform a redirection
final
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
toString() String
A string representation of this object.
inherited

Operators

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