FlutterBoost class

Constructors

FlutterBoost()

Properties

containerManagerKey GlobalKey<ContainerManagerState>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
observersHolder ObserversHolder
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addBoostContainerLifeCycleObserver(BoostContainerLifeCycleObserver observer) VoidCallback
register for Container lifecycle callbacks
addBoostNavigatorObserver(BoostNavigatorObserver observer) VoidCallback
register callbacks for Navigators push & pop
addContainerObserver(BoostContainerObserver observer) VoidCallback
register for Container changed callbacks
closeCurPage(Map params) Future<bool>
closePage(String url, String pageId, Map params, {bool animated}) Future<bool>
closePageForContext(BuildContext context) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onPageResult(String key, Map<String, dynamic> resultData) bool
openPage(String url, Map params, {bool animated, PageResultHandler resultHandler}) Future<bool>
registerDefaultPageBuilder(PageBuilder builder) → void
Register a default page builder.
registerPageBuilder(String pageName, PageBuilder builder) → void
Register page builder for a key.
registerPageBuilders(Map<String, PageBuilder> builders) → void
Register a map builders
setPageResultHandler(String key, PageResultHandler handler) VoidCallback
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

containerManager ContainerManagerState
read-only
singleton FlutterBoost
read-only

Static Methods

handleOnStartPage() → void
query current top page and show it
init([TransitionBuilder builder]) TransitionBuilder