ValueListenableProvider<T>.value constructor
const
ValueListenableProvider<T>.value ({
- required ValueListenable<
T> value, - Key? key,
- UpdateShouldNotify<
T> ? updateShouldNotify, - Widget? child,
Provides the value of value, a listenable made elsewhere.
Implementation
const ValueListenableProvider.value({
required ValueListenable<T> value,
super.key,
this.updateShouldNotify,
super.child,
}) : listenable = value;