ListenableProvider<T extends Listenable?>.value constructor

ListenableProvider<T extends Listenable?>.value({
  1. Key? key,
  2. required T value,
  3. UpdateShouldNotify<T>? updateShouldNotify,
  4. TransitionBuilder? builder,
  5. 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,
      );