RouterPage class

Mixed in types

Constructors

RouterPage({String name = '', String? classToNameReg, required dynamic page, List<RouterPage> pages = const [], PageBuildFn? pageBuilder, List<Type> groupList = const [], Function? redirectFn})
const

Properties

classToNameReg String?
final
groupList List<Type>
不会从 parent Route 寻找
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
page → dynamic
final
pageBuilder PageBuildFn?
Page Function(RouteQueueEntry entry, Widget child);
final
pages List<RouterPage>
final
redirectFn Function?
RouteQueueEntry Function(RouteQueueEntry entry);
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