onChange property
void Function(Event e)?
onChange
final
Callback invoked when an input element's value change is committed (e.g. on blur/submit).
Implementation
final void Function(Event e)? onChange;