NepaliDatePickerView
fun NepaliDatePickerView(context: Context, initialSelectedDate: SimpleDate? = null, locale: NepaliDateLocale = NepaliDatePickerDefaults.DefaultLocale, yearRange: IntRange = NepaliCalendarDefaults.NepaliYearRange, selectableDates: NepaliSelectableDates? = null, showModeToggle: Boolean = true, showTodayButton: Boolean = true, showEnglishDate: Boolean = false, englishDateLocale: NepaliDateLocale? = null, initialCalendarSystem: CalendarSystem = CalendarSystem.BIKRAM_SAMBAT, showCalendarSystemToggle: Boolean = false, showAdjacentMonthDays: Boolean = false, events: NepaliEventOptions? = null, onHeightChange: (Float) -> Unit = {}, onDateSelected: (CustomCalendar?) -> Unit): View(source)
The calendar picker as a plain View, for hosts that cannot compose: a Flutter platform view or an XML layout. Mirrors the iOS NepaliDatePickerViewController parameter for parameter.
onDateSelected fires with the full calendar for every selection, and with null when the selection is cleared. onHeightChange reports the content height in density independent points whenever it changes, for hosts that size the view themselves.