onChanged method

void onChanged(
  1. String value
)

when change in the textfield

Implementation

void onChanged(String value) {
  notify();
  if (widget.onChanged != null) {
    widget.onChanged!(value);
  }
}