onChanged property
final
Called whenever the state's value changes, e.g. after picker value(s) have been selected or when the field loses focus. To listen for all text changes, use the controller and focusNode.
Implementation
final ValueChanged<DateTime> onChanged