rangePreview

fun rangePreview(selectionState: CalendarSelectionState, targetDate: LocalDate?, color: Color = MaterialTheme.colorScheme.primaryContainer.copy(alpha = 0.45f)): DayDecorator

Translucent range preview connector band when selectionState's selection has an open rangeStart (rangeEnd == null) and targetDate is non-null and distinct from rangeStart.

Draws a connector band between minOf(rangeStart, targetDate) and maxOf(rangeStart, targetDate), capped with a circular preview fill on targetDate.