ValueListenableProvider<T>.value constructor

ValueListenableProvider<T>.value({Key key, @required ValueListenable<T> value, UpdateShouldNotify<T> updateShouldNotify, Widget child })

Implementation

ValueListenableProvider.value({
  Key key,
  @required ValueListenable<T> value,
  UpdateShouldNotify<T> updateShouldNotify,
  Widget child,
}) : this._(
  key: key,
  delegate: SingleValueDelegate(value),
  updateShouldNotify: updateShouldNotify,
  child: child,
);