ProviderWidget<T extends ChangeNotifier> constructor

ProviderWidget<T extends ChangeNotifier>({
  1. Key? key,
  2. required ValueWidgetBuilder<T> builder,
  3. required T model,
  4. Widget? child,
  5. dynamic onModelReady(
    1. T? model
    )?,
  6. bool autoDispose = true,
})

Implementation

ProviderWidget({
  Key? key,
  required this.builder,
  required this.model,
  this.child,
  this.onModelReady,
  this.autoDispose: true}): super(key: key);