fun Modifier.toolbarBackground(style: ShapeStyle, bars: ToolbarPlacement): ModifierOverview
Modifier.toolbarBackground(style = ShapeStyle.…, bars = ToolbarPlacement.…)This is the Kotlin form of SwiftUI View.toolbarBackground(_:for:): SwiftUI documentation. In Swift it reads:
nonisolated func toolbarBackground<S>(_ style: S, for bars: ToolbarPlacement...) -> some View where S : ShapeStyleTopics
Overloads
fun Modifier.toolbarBackground(style: ShapeStyle, bars: ToolbarPlacement): Modifier
fun Modifier.toolbarBackground(visibility: Visibility, bars: ToolbarPlacement): Modifier