CustomBottomSheetVisibility

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.

Constructors

Link copied to clipboard
constructor(visibleHeightPx: Int = 0, expandProgress: Float = 0.0f, peekHeightPx: Int = 0)

Properties

Link copied to clipboard
val expandProgress: Float = 0.0f

The expansion progress from 0.0 (collapsed) to 1.0 (fully expanded).

Link copied to clipboard
val peekHeightPx: Int = 0
Link copied to clipboard

The visible height of the bottom sheet in pixels.