EasyState<T>.value constructor

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

Implementation

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