setValue method

void setValue(
  1. T value, {
  2. bool notify = true,
})

Updates the control value.

When notify is true (default), listeners will be notified and reactive UI will update. When false, the value is updated silently according to the control implementation (useful for internal state sync).

Implementation

void setValue(T value, {bool notify = true}) =>
    formControl.setValue(value, notify: notify);