FastModuleManager class

Constructors

FastModuleManager.instance()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispatch<T extends FastModuleProtocol>({String? moduleName, required String eventName, dynamic arguments}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onGenerateRoute(RouteSettings settings) → GetPageRoute?
动态路由生成器
pages() List<GetPage>
register<T extends FastModuleProtocol>(T moudle) → void
注册组件
remove<T extends FastModuleProtocol>(T? moudle) → void
移除组件
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

module<T extends FastModuleProtocol>() → T?
获取组件
registerBuilder(RegisterBuilder builder, {bool autoInit = true}) → dynamic
注册组件, 自动执行init