JengaSheetState

The visibility state of a JengaBottomSheet. Create one with rememberJengaSheetState and drive it imperatively (e.g. from an MVI effect): scope.launch { sheetState.hide() }. Keeps the underlying Material state out of Jenga's public API.

Properties

Link copied to clipboard

Whether the sheet is currently visible.

Functions

Link copied to clipboard
suspend fun hide()

Animates the sheet fully off-screen. Pair with dismissing the sheet from composition.

Link copied to clipboard
suspend fun show()

Animates the sheet to its expanded (visible) position.