ModulePageObserver mixin
- Superclass Constraints
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoaded ↔ bool
-
Returns whether the module is loaded.
getter/setter pairinherited
- key → String
-
A Key is an identifier for a module.
no setterinherited
- moduleContext → ModuleContext
-
ModuleContext
of current module.no setterinherited -
modules
→ Map<
String, ThrioModule> -
finalinherited
-
getter/setter pairinherited
-
pageObservers
→ RegistrySet<
NavigatorPageObserver> -
final
- parent → ThrioModule?
-
Get parent module.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initModule(
) → void -
A function for module initialization that will call the
onModuleInit
,onPageBuilderRegister
,onRouteTransitionsBuilderRegister
,onPageObserverRegister
onRouteObserverRegister
,onJsonSerializerRegister
,onJsonDeserializerRegister
,onProtobufSerializerRegister
,onProtobufDeserializerRegister
andonModuleAsyncInit
methods of all modules.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onModuleAsyncInit(
ModuleContext moduleContext) → void -
A function for module asynchronous initialization.
inherited
-
onModuleInit(
ModuleContext moduleContext) → void -
A function for module initialization.
inherited
-
onModuleLoading(
ModuleContext moduleContext) → Future -
Called when the first page in the module is about to be pushed.
inherited
-
onModuleRegister(
ModuleContext moduleContext) → void -
A function for registering submodules.
inherited
-
onModuleUnloading(
ModuleContext moduleContext) → Future -
Called when the last page in the module is closed.
inherited
-
onPageObserverRegister(
ModuleContext moduleContext) → void - A function for register a page observer.
-
registerModule(
ThrioModule module, ModuleContext moduleContext) → void -
A function for registering a module, which will call
the
onModuleRegister
function of themodule
.inherited -
registerPageObserver(
NavigatorPageObserver pageObserver) → VoidCallback - Register observers for the life cycle of all pages under the current module and submodules.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited