LaunchMode enum

路由启动模式

Inheritance
Available extensions

Values

standard → const LaunchMode

标准模式:允许同一页面多个实例存在

singleTop → const LaunchMode

栈顶复用:如果目标页面已在栈顶,则不创建新实例

singleInstance → const LaunchMode

单例模式:整个栈中只保留一个实例,如果已存在则移到栈顶

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<LaunchMode>
A constant List of the values in this enum, in order of their declaration.