BlocManager class

Business module manager, singleton


Return singleton object


blocMap Map<String, Bloc>
read / write
functionMap Map<String, BlocFunction>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
pageLayoutType String
read / write
pageMap Map<String, BlocPageBuilder>
read / write
popUpBoxMap Map<String, BlocPopupBoxBuilder>
read / write
reduxBlocList List<ReduxBloc>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
widgetMap Map<String, BlocWidgetBuilder>
read / write


callFunction(String functionName, {Map<String, dynamic> arguments}) Future
clearAllState() → void
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, 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 non-existent method or property is accessed. [...]
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. [...]
updatePageLayoutType(String layoutType) → void
Update layout type identification, add @ and type identification after the page name when registering the page


operator ==(Object other) bool
The equality operator. [...]