MuffinInterface class abstract

Available extensions

Constructors

MuffinInterface()

Properties

arguments → dynamic

Available on MuffinInterface, provided by the MuffinNavigation extension

no setter
currentRouteName String

Available on MuffinInterface, provided by the MuffinNavigation extension

获取当前路由name,这个值在过度动画之前就被设置,所以可能在起始页面看到准备跳转页面的name 这个方法当前只用作测试
no setter
hashCode int
The hash code for this object.
no setterinherited
key GlobalKey<NavigatorState>
no setter
mockConfig List<MockConfig>
getter/setter pair
muffinRouterDelegate MuffinRouterDelegate

Available on MuffinInterface, provided by the MuffinNavigation extension

no setter
onMockFunc → dynamic

Available on MuffinInterface, provided by the MuffinConfig extension

no setter
parameters Map<String, String>

Available on MuffinInterface, provided by the MuffinNavigation extension

no setter
routeInformationParser RouteInformationParser?
getter/setter pair
routerDelegate RouterDelegate?
getter/setter pair
routeTree ParseRouteTree

Available on MuffinInterface, provided by the MuffinNavigation extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addMock(MockConfig config) → void

Available on MuffinInterface, provided by the MuffinConfig extension

addMocks(List<MockConfig> configs) → void

Available on MuffinInterface, provided by the MuffinConfig extension

addPages(List<MuffinPage> muffinPages) → void

Available on MuffinInterface, provided by the MuffinNavigation extension

createDelegate({MuffinPage? notFoundRoute, required bool multiple}) MuffinRouterDelegate

Available on MuffinInterface, provided by the MuffinNavigation extension

createInformationParser({String initialRoute = '/'}) MuffinInformationParser

Available on MuffinInterface, provided by the MuffinNavigation extension

initShare(List<DataModelChangeListener> models) Future<void>

Available on MuffinInterface, provided by the MuffinConfig extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop<T extends Object>([T? result]) → void

Available on MuffinInterface, provided by the MuffinNavigation extension

popUntil<T extends Object>(String target, [T? result]) → void

Available on MuffinInterface, provided by the MuffinNavigation extension

pushNamed<T>(String page, {dynamic arguments, Map<String, String>? parameters}) Future<T>

Available on MuffinInterface, provided by the MuffinNavigation extension

syncDataModel(Map<String, dynamic> map) Future<void>

Available on MuffinInterface, provided by the MuffinConfig extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited