onInitialDateChanged property
final
A function called whenever the initial date changes. Use this to synchronise the DateRange's date with a date in the parent's state.
Implementation
final void Function(DateTime?)? onInitialDateChanged;