VerticalFloatingToolbarOverrideScope

Parameters available to VerticalFloatingToolbar.

Parameters

isExpanded

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.

modifier

the Modifier to be applied to this FloatingToolbar.

colors

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

contentPadding

the padding applied to the content of this FloatingToolbar.

scrollBehavior

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.

shape

the shape used for this FloatingToolbar.

leadingContent

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

trailingContent

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

expandedShadowElevation

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

collapsedShadowElevation

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

content

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val content: @Composable ColumnScope.() -> Unit
Link copied to clipboard
val contentPadding: PaddingValues
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val leadingContent: @Composable ColumnScope.() -> Unit?
Link copied to clipboard
val modifier: Modifier
Link copied to clipboard
val shape: Shape
Link copied to clipboard
val trailingContent: @Composable ColumnScope.() -> Unit?

Functions

Link copied to clipboard