BottomSheetShellUIState

data class BottomSheetShellUIState(val title: String? = null, val subtitle: String? = null, val description: String? = null, val searchQuery: String? = null, val showTopSectionDivider: Boolean = true, val showBottomSectionDivider: Boolean = true, val bottomPadding: Dp = Spacing0, val headerTextAlignment: TextAlign = TextAlign.Center, val scrollableContainerMinHeight: Dp = Spacing0, val scrollableContainerMaxHeight: Dp = InternalSizeValues.Size386, val animateHeaderOnKeyboardAppearance: Boolean = true, val contentPadding: PaddingValues = PaddingValues(horizontal = Spacing24))

Data class representing the UI state for the BottomSheetShell component.

Constructors

Link copied to clipboard
constructor(title: String? = null, subtitle: String? = null, description: String? = null, searchQuery: String? = null, showTopSectionDivider: Boolean = true, showBottomSectionDivider: Boolean = true, bottomPadding: Dp = Spacing0, headerTextAlignment: TextAlign = TextAlign.Center, scrollableContainerMinHeight: Dp = Spacing0, scrollableContainerMaxHeight: Dp = InternalSizeValues.Size386, animateHeaderOnKeyboardAppearance: Boolean = true, contentPadding: PaddingValues = PaddingValues(horizontal = Spacing24))

Properties

Link copied to clipboard

Whether to animate the header when the keyboard appears.

Link copied to clipboard

The lower padding for the bottom sheet shell.

Link copied to clipboard

The padding values for the content.

Link copied to clipboard
val description: String? = null

The description to be displayed in the bottom sheet header.

Link copied to clipboard

The alignment for the header text.

Link copied to clipboard

The maximum height for the scrollable content container.

Link copied to clipboard

The minimum height for the scrollable content container.

Link copied to clipboard
val searchQuery: String? = null

The search query to be displayed in the search bar.

Link copied to clipboard

Whether to show the bottom section divider.

Link copied to clipboard

Whether to show the top section divider.

Link copied to clipboard
val subtitle: String? = null

The subtitle to be displayed in the bottom sheet header.

Link copied to clipboard
val title: String? = null

The title to be displayed in the bottom sheet header.