initialRange property

DateTimeRange? initialRange
final

Optional initial DateTimeRange to pre-populate the picker, setting the starting selection for the user. If null, the picker starts with no selection.

Implementation

final DateTimeRange? initialRange;