ComponentBuilder<T extends ComponentViewModel> constructor
Null safety
- {required Widget builder(
- BuildContext,
- T
- T create( )?,
- T? instance,
- Key? key}
Implementation
const ComponentBuilder({
required this.builder,
this.create,
this.instance,
Key? key,
}) : assert(create != null || instance != null),
super(key: key);