app library
App-scoped architecture: 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
- Summary of a MooseBootstrapper.run call.
- MooseAppContext
- App-scoped container holding all registries, managers, and caches for a moose_core instance.
- MooseBootstrapper
- Orchestrates the moose_core startup sequence against a MooseAppContext.
- MooseLifecycleObserver
- Bridges Flutter app lifecycle changes to registered moose plugins.
- MooseScope
- Provides a MooseAppContext to the widget tree and manages plugin lifecycle observer wiring for that context.
Extensions
- MooseContextExtension on BuildContext
-
Convenience extension so widgets can write
context.mooseinstead ofMooseScope.of(context).