Kernel class
The kernel is the core initor of the framework.
- Mixed-in types
Constructors
- Kernel({required IntentService intents, EventService? events, CommandService? commands, SharedStateService? states, ComponentService? components, PackageService? packages, ContextMenuService? contextMenus})
Properties
- commands ↔ CommandService
-
Command service used to register and listen commands.
getter/setter pair
- components ↔ ComponentService
-
getter/setter pair
- container → Ioc
-
Service manager including the core components of the Mineral framework
no setterinherited
- contextMenus ↔ ContextMenuService
-
Context menu service used to register and listen context menus.
getter/setter pair
- events ↔ EventService
-
Event service used to emit and listen events.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- intents → IntentService
-
Intent service used to register intents.
final
- packages ↔ PackageService
-
Package service used to register and listen packages.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- states ↔ SharedStateService
-
Shared state service used to share data between commands and events.
getter/setter pair
Methods
-
init(
) → Future< void> - Initialize the kernel.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited