value property

T value

The getter that provides the current value of variable

Implementation

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

The setter that updates the provided value and updates the corresponding Hookable widget for rebuild.

Implementation

set value(T newValue) {
  this._value = newValue;
  try {
    this.hookableWidget._update();
  } catch (exception) {
    print(
      'TRex Exception: Problem encountered when marking the widget element for rebuild. Native message - ' +
          exception.toString(),
    );
  }
}