RouterMain class

Mixed in types

Constructors

RouterMain({String name = '', String className = '', String? restorationId, String navClassName = '', String classToNameReg = '', required dynamic page, List<RouterPage> pages = const [], PageBuildFn? pageBuilder, bool genKey = false, bool private = true, Function? redirectFn, Function? errorBuilder})
const

Properties

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