didChange method

void didChange(
  1. ViewDataType? value
)

Updates this field's state to the new value. Useful for responding to child widget changes.

Updates the value of the FormControl bound to this widget.

Implementation

void didChange(ViewDataType? value) {
  _valueAccessor.updateModel(value);
  _checkTouchedState();
}