NepaliDaySummary
What one day is, written out: whether the institution is shut, why, and everything named on it.
The verdict leads, since that is what a reader looks for first, and the weekly rule and each event follow as their own lines. A day that is open and carries nothing says so rather than showing an empty space.
Renders as a plain column that wraps its content, so it sits under a NepaliCalendar inside a screen's own scrolling container.
Parameters
the day to write out, Bikram Sambat.
the Modifier applied to the summary.
the institution the day is read against. Give the calendar the same one.
the NepaliDatePickerColors the summary themes itself from.
the palette an event's dot is drawn in, one slot per kind.
the language the verdict and the weekly rule are written in.
Example usage:
NepaliDaySummary(date = SimpleDate(2082, 6, 17), policy = officePolicy)See also
The day picked on a calendar, written out. Follows state, and says so when nothing is picked yet.
The locale comes from the calendar's own, so the summary reads in the language the grid does.
Parameters
the calendar this summary follows. Share the one the grid uses.
the institution the day is read against. Give the calendar the same one.
Example usage:
val state = rememberNepaliCalendarState()
val policy = remember { NepaliCalendarPolicy(provider = myEvents) }
NepaliCalendar(state = state, policy = policy)
NepaliDaySummary(state = state, policy = policy)