PairChildViewModelProvider<PVM extends ChangeNotifier, VM extends ChangeNotifier> constructor
PairChildViewModelProvider<PVM extends ChangeNotifier, VM extends ChangeNotifier> ({
- Key? key,
- required VM create(
- BuildContext context,
- PVM parent
- PairViewModelWidgetCallback<
PVM, VM> ? initViewModel, - PairViewModelWidgetCallback<
PVM, VM> ? initFrame, - PairViewModelWidgetCallback<
PVM, VM> ? bindViewModel, - PairViewModelWidgetCallback<
PVM, VM> ? disposeViewModel, - PairViewModelWidgetChange<
PVM, VM> ? changeViewModel, - Widget? child,
- PairViewModelWidgetBuilder<
PVM, VM> ? builder,
Implementation
PairChildViewModelProvider({
Key? key,
required this.create,
this.initViewModel,
this.initFrame,
this.bindViewModel,
this.disposeViewModel,
this.changeViewModel,
Widget? child,
this.builder,
}) : super(key: key, child: child);