{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SheetValue

@ExperimentalMaterial3Api
public enum SheetValue extends Enum

java.lang.Object
   ↳ kotlin.Enum
     ↳ androidx.compose.material3.SheetValue

Possible values of SheetState.

Summary

Enum Values

Expanded

The sheet is visible at full height.

Hidden

The sheet is not visible.

PartiallyExpanded

The sheet is partially visible.

Public methods

final @NonNull EnumEntries<@NonNull SheetValue>

Possible values of SheetState.

final @NonNull SheetValue

Returns the enum constant of this type with the specified name.

final @NonNull SheetValue[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

Expanded

@ExperimentalMaterial3Api
SheetValue SheetValue.Expanded

The sheet is visible at full height.

Hidden

@ExperimentalMaterial3Api
SheetValue SheetValue.Hidden

The sheet is not visible.

PartiallyExpanded

@ExperimentalMaterial3Api
SheetValue SheetValue.PartiallyExpanded

The sheet is partially visible.

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull SheetValuegetEntries()

Possible values of SheetState.

valueOf

public final @NonNull SheetValue valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull SheetValue[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.