NepaliCalendarState

fun NepaliCalendarState(initialSelectedDate: SimpleDate? = null, initialDisplayedMonth: SimpleDate? = initialSelectedDate, yearRange: IntRange = NepaliCalendarDefaults.NepaliYearRange, locale: NepaliDateLocale = NepaliDatePickerDefaults.DefaultLocale, initialCalendarSystem: CalendarSystem = CalendarSystem.BIKRAM_SAMBAT): NepaliCalendarState(source)

Creates a NepaliCalendarState outside composition, which is what a view model or a platform host holds. Prefer rememberNepaliCalendarState inside a composition, since only that one is restored after a configuration change.

Coerces the same way rememberNepaliCalendarState does.

See also