NepaliDateRangePicker
Nepali Date Range Picker let people select a range of Nepali dates and can be embedded into dialogs. See NepaliDatePickerDialog
Nepali date picker lets you pick Nepali dates via a calendar UI which displays Nepali dates.
Parameters
state of the Nepali date range picker. See rememberNepaliDateRangePickerState.
the Modifier to be applied to this Nepali date range picker.
the title to be displayed in the Nepali date range picker
the headline to be displayed in the Nepali date range picker
the boolean to let user toggle between Date Picker and Date Input
the control to either show or hide TODAY button for navigating to today's date. It is also affected by showYearPickerAndMonthNavigation.
the control to either show months vertically or horizontally. Note: When set to true (vertical display), the date picker uses vertical scrolling. This can lead to runtime errors if placed within a composable that also uses vertical scrolling, such as a Column with vertical scroll or a LazyColumn. Ensure your layout accommodates the vertical scrolling behavior to avoid these errors.
the control to either show or hide YearPicker button and MonthNavigation buttons. showTodayButton is affected by this.
when non-null, every day cell also shows the same day in the other calendar, using this NepaliDateLocale for its language and digits. null shows one calendar only.
the boolean to show the B.S. / A.D. switch, which drives NepaliDateRangePickerState.displayedCalendarSystem. It sits at the end of the title, so it is independent of showYearPickerAndMonthNavigation.
the boolean to fill each month's empty cells with the neighbouring months' days, drawn faded. Tapping one selects that day as the range's start or end and moves the grid to its month. A day the picker cannot select, because of NepaliSelectableDates or the year range, stays faded and inert. Off by default, matching the Material3 DateRangePicker.
NepaliDatePickerColors that will be used to resolve the colors used for this date picker in different states. See NepaliDatePickerDefaults.colors.
marks days that carry a holiday, a festival or an app's own event, with dots under the day number and a color for the number itself. null, the default, leaves every day as the theme draws it. A decoration never overrides the range shading or the disabled state. See NepaliDatePickerDefaults.eventDecorator and NepaliDatePickerDefaults.dayDecorator.
Example usage:
val defaultNepaliDateRangePickerState = rememberNepaliDateRangePickerState()
NepaliDateRangePicker(defaultNepaliDateRangePickerState)