app library
App-scoped architecture: MooseApp, MooseAppContext, MooseScope, and MooseBootstrapper.
Import this to access the new scoped registry system:
import 'package:moose_core/app.dart';
Or import the full library:
import 'package:moose_core/moose_core.dart';
Classes
- BootstrapReport
- Structured result returned by MooseBootstrapper.run.
- MooseApp
- A self-contained root widget that bootstraps a moose_core application.
- MooseAppContext
- The dependency-injection container for a running moose_core application.
- MooseBootstrapper
- Orchestrates the moose_core startup sequence against a MooseAppContext.
- MooseLifecycleObserver
- Bridges Flutter's AppLifecycleState changes to all registered plugins in a MooseAppContext.
- MooseScope
- Provides a MooseAppContext to the widget tree and manages plugin lifecycle observer wiring for that context.
Extensions
- MooseContextExtension on BuildContext
-
Convenience extension that adds
context.mooseto BuildContext.