InjectorWidget constructor
InjectorWidget({})
Creates an InjectorWidget based on an Injector.
Implementation
factory InjectorWidget({
Key? key,
required Injector injector,
required Widget child,
bool autoDispose = true,
}) {
return InjectorWidget._internal(
key: key,
injector: injector,
child: child,
autoDispose: autoDispose,
);
}