DependenciesBuilder constructor
const
DependenciesBuilder({
- required List<
Dependency< dependencies,Object> > - required Widget builder(
- BuildContext context,
- Dependencies scope
- Widget waitingBuilder(
- BuildContext context
- Key? key,
Creates a DependenciesBuilder.
- dependencies: A list of dependencies to be managed and provided to descendant widgets.
- builder: A callback to build the widget tree when all dependencies are loaded.
- waitingBuilder: (Optional) A callback to build a widget tree displayed while waiting for dependencies to load.
Implementation
const DependenciesBuilder({
required this.dependencies,
required this.builder,
this.waitingBuilder,
super.key,
});