Date Range Picker State
State holder for DateRangePicker.
The selected range is always inclusive and ordered. If selectStartDate moves the start after the current end, the end date is moved to the same date. If selectEndDate moves the end before the current start, the start date is moved to the same date.
Parameters
The initial range start date.
The initial range end date.
Throws
if initialStartDate is after initialEndDate.
Constructors
Creates a DateRangePickerState from initialDateRange.
Creates a DateRangePickerState with explicit start and end date parts.
Properties
Functions
Programmatically selects dateRange.
Programmatically selects the closest date range allowed by items.
Programmatically selects the range from explicit start and end date parts.
Programmatically selects the closest date range to the requested date parts allowed by items.
Programmatically selects the range end date.
Programmatically selects the closest range end date allowed by items.
Programmatically selects the range end date from explicit date parts.
Programmatically selects the range start date.
Programmatically selects the closest range start date allowed by items.
Programmatically selects the range start date from explicit date parts.