ValueListenableProvider<T> constructor

ValueListenableProvider<T>({Key key, @required ValueBuilder<ValueNotifier<T>> builder, UpdateShouldNotify<T> updateShouldNotify, Widget child })

Implementation

ValueListenableProvider({
  Key key,
  @required ValueBuilder<ValueNotifier<T>> builder,
  UpdateShouldNotify<T> updateShouldNotify,
  Widget child,
}) : this._(
  key: key,
  delegate: BuilderStateDelegate<ValueNotifier<T>>(
    builder,
    dispose: _dispose,
  ),
  updateShouldNotify: updateShouldNotify,
  child: child,
);