Google is committed to advancing racial equity for Black communities. See how.

ModalBottomSheetValue

enum class ModalBottomSheetValue
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.material.ModalBottomSheetValue>
   ↳ androidx.compose.material.ModalBottomSheetValue

Possible values of ModalBottomSheetState.

Summary

Enum values

The bottom sheet is visible at full height.

The bottom sheet is partially visible at 50% of the screen height.

The bottom sheet is not visible.

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Expanded

enum val Expanded : ModalBottomSheetValue

The bottom sheet is visible at full height.

HalfExpanded

enum val HalfExpanded : ModalBottomSheetValue

The bottom sheet is partially visible at 50% of the screen height. This state is only enabled if the height of the bottom sheet is more than 50% of the screen height.

Hidden

enum val Hidden : ModalBottomSheetValue

The bottom sheet is not visible.