onChanged property
See also:
inputFormatters, which are called before onChanged runs and can validate and change ("format") the input value.onEditingComplete,onSubmitted: which are more specialized input change notifications.
Implementation
final ValueChanged<String>? onChanged;