buildWithInjector method

  1. @override
Widget buildWithInjector(
  1. BuildContext context,
  2. Injector injector
)
override

Build the Widget with the existing Injector.

Implementation

@override
Widget buildWithInjector(BuildContext context, Injector injector) {
  return InjectorWidget(
    autoDispose: autoDispose,
    child: WithInjectorWidget(builder: injectorBuilder),
    injector: Injector.fromModule(module: childModule, parent: injector),
  );
}