ChangeNotifierProvider<T extends ChangeNotifier?> constructor
ChangeNotifierProvider<T extends ChangeNotifier?> ({
- required Create<
T> create, - Key? key,
- bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Provides the notifier create makes, disposed of when this widget
leaves the tree.
Implementation
ChangeNotifierProvider({
required super.create,
super.key,
super.lazy,
super.builder,
super.child,
}) : super(dispose: _dispose);