onDateSaved property Null safety

ValueChanged<DateTime>? onDateSaved
final

An optional method to call with the final date when the form is saved via FormState.save. Will only be called if the input represents a valid DateTime.

Implementation

final ValueChanged<DateTime>? onDateSaved;