ChangeNotifierProvider<T extends ChangeNotifier?>.value constructor
ChangeNotifierProvider<T extends ChangeNotifier?>.value ({
- Key? key,
- required T value,
- TransitionBuilder? builder,
- Widget? child,
Provides an existing ChangeNotifier.
Implementation
ChangeNotifierProvider.value({
Key? key,
required T value,
TransitionBuilder? builder,
Widget? child,
}) : super.value(
key: key,
builder: builder,
value: value,
child: child,
);