StackedRoute<T> class
T
is the results type returned
from this page route MaterialPageRoute
Constructors
-
StackedRoute({Type? page, bool? initial = false, List<
Type> ? guards, bool? fullscreenDialog = false, bool? maintainState = true, bool fullMatch = false, String? path, String? name, bool usesPathAsKey = false, List<StackedRoute> ? children, Map<String, dynamic> meta = const {}, bool? deferredLoading}) -
const
Properties
-
children
→ List<
StackedRoute> ? -
final
- deferredLoading → bool?
-
final
- fullMatch → bool
-
final
- fullscreenDialog → bool?
-
passed to the fullscreenDialog property in MaterialPageRoute
final
-
guards
→ List<
Type> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initial → bool?
-
final
- maintainState → bool?
-
passed to the maintainState property in MaterialPageRoute
final
-
meta
→ Map<
String, dynamic> -
meta data
final
- name → String?
-
final
- page → Type?
-
final
- path → String?
-
route path name which will be assigned to the given variable name
const homeScreen = 'path';
if null a kabab cased variable name
prefixed with '/' will be used;
homeScreen -> home-screen
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usesPathAsKey → bool
-
if true path is used as page key instead of name
final
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