RouteConfig class

App 路由 页面的 配置信息,MuffinRouterDelegate,根据currentPage rebuild Navigator Router中每个Route 页面 配置信息

Inheritance

Constructors

RouteConfig({required List<MuffinPage> currentTreeBranch, required String? location, required Object? state})

Properties

currentPage MuffinPage?
正在或将要显示的 page,最终回调用MuffinPageRoute的 build 方法
no setter
currentTreeBranch List<MuffinPage>
final
hashCode int
The hash code for this object.
no setterinherited
location String
The location of the application.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state Object?
The state of the application in the uri.
finalinherited
uri Uri
The uri location of the application.
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