ModelBuilder<T> constructor

const ModelBuilder<T>(
  1. Symbol dataKey, {
  2. Key? key,
  3. required ModelWidgetBuilder<T> builder,
  4. Widget? child,
})

Creates a ModelBuilder.

Implementation

const ModelBuilder(
  this.dataKey, {
  super.key,
  required this.builder,
  this.child,
});