odroe_flutter library
Flutter composition for Odroe modules.
Classes
- App
- Flutter composition root for an explicit list of modules.
- AppContext
- Values and bindings created by an explicit list of application modules.
-
ContextKey<
T extends Object> - A typed key for one value stored in an AppContext.
- DocumentModule
- Installs server-rendered document handoff into a Flutter application.
- FlutterBinding
- A Flutter-specific module contribution.
- Module
- One explicitly selected application capability.
- ModuleBinding
- A platform or capability integration contributed by a Module.
- ModuleRegistry
- Collects values and platform bindings while modules are registered.
- QueryModule
- Installs Query into an application and its Flutter widget tree.
- RouterModule
- Installs Flutter routing into an application context.
- RpcModule
- Installs an RPC client into an application context.
Extensions
- AppBuildContext on BuildContext
- Reads the current AppContext from a Flutter build context.
Properties
-
routerKey
→ ContextKey<
AppRouter> -
The application context key used to read the configured AppRouter.
final
Typedefs
- AppBuilder = Widget Function(AppContext context)
- Builds the Flutter application owned by an AppContext.
- AppErrorBuilder = Widget Function(Object error, StackTrace stackTrace)
- Builds a visible module initialization failure.