InternalIocInheritedWidget<T> constructor
InternalIocInheritedWidget<T> ({
- required T factory(
- BuildContext context
- required Widget child,
- required _IocWidgetState<
T> state, - bool isLazySingleton = false,
- void dispose()?,
- Key? key,
Implementation
InternalIocInheritedWidget({
required this.factory,
required super.child,
required this.state,
this.isLazySingleton = false,
this.dispose,
super.key,
});