section

abstract fun <T> section(title: String, items: List<T>, key: Any? = null, actionLabel: String? = null, onAction: () -> Unit? = null, itemWidth: ShowcaseItemWidth = ShowcaseItemWidth.Peek(), rows: Int = 1, rowHeight: Dp? = null, snapping: ShowcaseSnapping = ShowcaseSnapping.ITEM, rowContentDescription: String? = null, itemKey: (index: Int, item: T) -> Any? = null, titleStyle: TextStyle? = null, itemContent: @Composable (item: T) -> Unit)

A SectionHeader above a ShowcaseRow. Sections can use different item types.

Parameters

rowContentDescription

optional spoken name for the row; null lets screen readers move through the items directly.