SingleChildSubValue<T> constructor

const SingleChildSubValue<T>({
  1. required SubValueBuilderCreate<T> create,
  2. SubValueBuilderUpdate<T>? update,
  3. SubValueBuilderKeys? keys,
  4. SubValueBuilderDispose<T>? dispose,
  5. 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,
});