remember Stylish Date Range Picker State
fun rememberStylishDateRangePickerState(initialSelectedStartDateMillis: Long? = null, initialSelectedEndDateMillis: Long? = null, initialDisplayedMonthMillis: Long? = initialSelectedStartDateMillis, yearRange: IntRange = DatePickerDefaults.YearRange, initialDisplayMode: DisplayMode = DisplayMode.Picker, selectableDates: SelectableDates = DatePickerDefaults.AllDates): DateRangePickerState
Creates and remembers a DateRangePickerState for use with StylishDateRangePicker.
This is the Finish-layer wrapper around the Material 3 rememberDateRangePickerState, keeping the experimental M3 API behind the Stylish opt-in.
Parameters
initial Selected Start Date Millis
The initially selected start date as epoch milliseconds (UTC midnight), or null for none.
initial Selected End Date Millis
The initially selected end date as epoch milliseconds (UTC midnight), or null for none.
initial Displayed Month Millis
The initially displayed month as epoch milliseconds, or null to default to the selected start date's month.
year Range
The range of selectable years. Defaults to DatePickerDefaults.YearRange.
initial Display Mode
The mode the picker opens in. Defaults to the calendar picker mode.
selectable Dates
A policy deciding which dates may be selected. Defaults to DatePickerDefaults.AllDates.