BlocManager class

Business module manager, singleton

Constructors

BlocManager()
Return singleton object
factory

Properties

blocMap Map<String, Bloc>
getter/setter pair
functionMap Map<String, BlocFunction>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pageLayoutType String
getter/setter pair
pageMap Map<String, BlocPageBuilder>
getter/setter pair
popUpBoxMap Map<String, BlocPopupBoxBuilder>
getter/setter pair
reduxBlocList List<ReduxBloc>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widgetMap Map<String, BlocWidgetBuilder>
getter/setter pair

Methods

callFunction(String functionName, {Map<String, dynamic> arguments = const {}}) Future
generatePageRoute(RouteSettings settings) Route?
Generate page route, used for navigator If you use the PageNavigator class, it will handle it automatically
generatePopupBoxRoute(RouteSettings settings) Route
Generate popup box route, used for navigator If you use the PageNavigator class, it will handle it automatically
generateWidget(BuildContext context, String widgetName, {Map<String, dynamic> arguments = const {}, Widget? child}) Widget
Generate widget You can use the widget of other modules without import module
initStore({bool isDebug = false}) → void
Initialize store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerBloc(Bloc bloc) → void
Register business module
reset() → void
Reset singleton
sendAppInitAction(ReduxAction action) → void
Send application initialization Action
toString() String
A string representation of this object.
inherited
updatePageLayoutType(String layoutType) → void
Update layout type identification, add @ and type identification after the page name when registering the page

Operators

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