NepaliDatePickerWithEnglishDate
NepaliDatePickerWithEnglishDate lets user select a date and preferably should be embedded into Dialogs. Check NepaliDatePickerDialog.
Nepali date picker lets you pick a Nepali date via a calendar UI which displays both Nepali and English dates.
This is NepaliDatePicker with its secondary date always on. Reach for NepaliDatePicker with secondaryDateLocale directly when you also want the B.S. / A.D. switch, or want the pairing to be conditional.
Parameters
state of the date picker. See rememberNepaliDatePickerState.
the Modifier to be applied to this date picker
the locale NepaliDateLocale for the english date
the title to be displayed in the date picker
the headline to be displayed in the date picker
the boolean to let user toggle between Date Picker and Date Input
the boolean to control either to show TODAY button or not
the boolean to show the B.S. / A.D. switch, which drives NepaliDatePickerState.displayedCalendarSystem
the boolean to fill the grid's empty cells with the neighbouring months' days, drawn faded. Tapping one selects that day and moves the grid to its month.
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. See NepaliDatePickerDefaults.eventDecorator and NepaliDatePickerDefaults.dayDecorator.
Example usage:
val defaultNepaliDatePickerState = rememberNepaliDatePickerState()
NepaliDatePickerWithEnglishDate(state = defaultNepaliDatePickerState)