HorizontalFloatingToolbarOverrideScope

Properties

Link copied to clipboard

the elevation for the shadow below this floating toolbar when collapsed.

Link copied to clipboard

the colors used for this floating toolbar. There are two predefined FloatingToolbarColors at FloatingToolbarDefaults.standardFloatingToolbarColors and FloatingToolbarDefaults.vibrantFloatingToolbarColors which you can use or modify.

Link copied to clipboard
val content: @Composable RowScope.() -> Unit

the main content of this FloatingToolbar. The default layout here is a Row, so content inside will be placed horizontally.

Link copied to clipboard
val contentPadding: PaddingValues

the padding applied to the content of this FloatingToolbar.

Link copied to clipboard

the elevation for the shadow below this floating toolbar when expanded.

Link copied to clipboard

whether the FloatingToolbar is in expanded mode, i.e. showing leadingContent and trailingContent. Note that the toolbar will stay expanded in case a touch exploration service (e.g., TalkBack) is active.

Link copied to clipboard
val leadingContent: @Composable RowScope.() -> Unit?

the leading content of this FloatingToolbar. The default layout here is a Row, so content inside will be placed horizontally. Only showing if isExpanded is true.

Link copied to clipboard
val modifier: Modifier

the Modifier to be applied to this FloatingToolbar.

Link copied to clipboard

a FloatingToolbarScrollBehavior. If null, this FloatingToolbar will not automatically react to scrolling. Note that the toolbar will not react to scrolling in case a touch exploration service (e.g., TalkBack) is active.

Link copied to clipboard
val shape: Shape

the shape used for this FloatingToolbar.

Link copied to clipboard
val trailingContent: @Composable RowScope.() -> Unit?

the trailing content of this FloatingToolbar. The default layout here is a Row, so content inside will be placed horizontally. Only showing if isExpanded is true.

Functions

Link copied to clipboard