rememberScheduleState

fun rememberScheduleState(startDate: LocalDate? = null, endDate: LocalDate? = null, firstVisibleDate: LocalDate = currentDate(), firstDayOfWeek: DayOfWeek = PlatformDateFormat.firstDayOfWeek(), initialHourHeight: Dp = 60.dp, minHourHeight: Dp = 36.dp, maxHourHeight: Dp = 160.dp, initialScrollTime: LocalTime = LocalTime(8, 0)): ScheduleState

Remembers saveable ScheduleState. Null startDate/endDate (the defaults) leave that side unbounded. The time grid initially shows initialScrollTime at the top of the viewport.