SfProviderWidget2<A extends ChangeNotifier, B extends ChangeNotifier> constructor

SfProviderWidget2<A extends ChangeNotifier, B extends ChangeNotifier>(
  1. {Key key,
  2. @required A model1,
  3. @required B model2,
  4. @required Widget builder(
    1. BuildContext context,
    2. A model1,
    3. B model2,
    4. Widget child
    ),
  5. Widget child,
  6. dynamic onModelReady(
    1. A model1,
    2. B model2
    ),
  7. bool autoDispose = true}
)

Implementation

SfProviderWidget2({
  Key key,
  @required this.model1,
  @required this.model2,
  @required this.builder,
  this.child,
  this.onModelReady,
  this.autoDispose: true,
}) : super(key: key);