Package-level declarations

Types

Link copied to clipboard

State holder for managing the bottom sheet's expand/collapse behavior.

Link copied to clipboard
data class CustomBottomSheetVisibility(val visibleHeightPx: Int = 0, val expandProgress: Float = 0.0f, val peekHeightPx: Int = 0)

Represents the visibility state of a custom bottom sheet.

Functions

Link copied to clipboard
fun CustomBottomSheet(state: CustomBottomSheetState = rememberCustomBottomSheetState(), onVisibilityChanged: (CustomBottomSheetVisibility) -> Unit, sheetPeekHeight: Dp, fadeColor: Color?, landscapeHorizontalPadding: Dp, sheetContent: @Composable () -> Unit)

Customizes the standard BottomSheetScaffold by adding calculation of visible height.