ListenableProvider<T extends Listenable?>.value constructor
ListenableProvider<T extends Listenable?>.value ({
- Key? key,
- required T value,
- UpdateShouldNotify<
T> ? updateShouldNotify, - TransitionBuilder? builder,
- Widget? child,
Provides an existing Listenable.
Implementation
ListenableProvider.value({
Key? key,
required T value,
UpdateShouldNotify<T>? updateShouldNotify,
TransitionBuilder? builder,
Widget? child,
}) : super.value(
key: key,
builder: builder,
value: value,
updateShouldNotify: updateShouldNotify,
startListening: _startListening,
child: child,
);