CamoBottomSheet
A bottom sheet's content: the skin's container, handle, optional title and close button around content.
Put it in a CamoSheetFrame (or, from M6, a sheet route); it scrolls nothing itself, so give long content
its own scroll. Screen readers hear it as a pane named title, with a dismiss action when it's dismissible.
API
- Kotlin
- Dart
public fun CamoBottomSheet(
modifier: Modifier = Modifier,
title: String? = null,
content: @Composable () -> Unit,
)
| Name | Type | Default |
|---|---|---|
modifier | Modifier | Modifier |
title | String? | null |
content | @Composable () -> Unit | required |
Design notes
Why CamoBottomSheet works this way, its states and its edge cases: contributor docs.