Floating Toolbar
fun FloatingToolbar(modifier: Modifier = Modifier, color: Color = FloatingToolbarDefaults.defaultColor(), cornerRadius: Dp = FloatingToolbarDefaults.CornerRadius, outSidePadding: PaddingValues = FloatingToolbarDefaults.OutSidePadding, shadowElevation: Dp = 4.dp, showDivider: Boolean = false, content: @Composable () -> Unit)
A FloatingToolbar that renders its content in a Card, arranged either horizontally or vertically. The actual placement on screen is handled by the parent, typically Scaffold.
Parameters
modifier
The modifier to be applied to the FloatingToolbar.
color
Background color of the FloatingToolbar.
corner Radius
Corner radius of the FloatingToolbar.
out Side Padding
Padding outside the FloatingToolbar.
shadow Elevation
The shadow elevation of the FloatingToolbar.
show Divider
Whether to show the divider line around the FloatingToolbar.
content
The Composable content of the FloatingToolbar.