CalendarDatePickerState

A state holder for the Calendar Date Picker to observe the selected date and synchronize it with a text field.

Properties

Link copied to clipboard

Determines which dates are selectable in the calendar.

Link copied to clipboard
abstract var selectedDate: LocalDate?

The currently selected LocalDate, or null if no date is selected.

Link copied to clipboard
abstract val today: LocalDate

The current day represented by a LocalDate.

Link copied to clipboard
abstract var updateFieldCallback: (String) -> Unit?

A callback invoked by the state to update the text field value, usually when the selected date changes.

Functions

Link copied to clipboard
abstract fun updateFieldValue(newValue: String)

Processes a new string value input (e.g., from a text field).