selectedRange property

DateTimeRange<DateTime>? selectedRange
final

The initially selected date range when the picker is first opened. If the specified range contains the initialDate, that range will be selected.

Note that only dates are considered. time fields are ignored.

Implementation

final DateTimeRange? selectedRange;