onDateTimeChanged property
final
Callback called when the selected date and/or time changes. If the new selected DateTime is not valid, or is not in the minimumDate through maximumDate range, this callback will not be called.
Implementation
final ValueChanged<DateTime> onDateTimeChanged;