value property

T value

The getter that provides the current value of variable.

Implementation

T get value => this._value;
void value=(T newValue)

Sets the value of the variable and refreshes state of the Widget.

Implementation

set value(T newValue) {
  this._value = newValue;
  if (this.statefulWidget.mounted) {
    // ignore: invalid_use_of_protected_member
    this.statefulWidget.setState(() {});
  }
}