SingleChildSubValue<T> constructor
const
SingleChildSubValue<T> ({
- required SubValueBuilderCreate<
T> create, - SubValueBuilderUpdate<
T> ? update, - SubValueBuilderKeys? keys,
- SubValueBuilderDispose<
T> ? dispose, - Widget? child,
Creates a widget that has exactly one child widget.
Implementation
const SingleChildSubValue({
required this.create,
this.update,
this.keys,
this.dispose,
super.child,
});