fun Modifier.containerBackground(style: ShapeStyle, container: ContainerBackgroundPlacement): ModifierOverview
Modifier.containerBackground(style = ShapeStyle.…, container = ContainerBackgroundPlacement.…)This is the Kotlin form of SwiftUI View.containerBackground(_:for:): SwiftUI documentation. In Swift it reads:
nonisolated func containerBackground<S>(_ style: S, for container: ContainerBackgroundPlacement) -> some View where S : ShapeStyleTopics
Overloads
fun Modifier.containerBackground(style: ShapeStyle, container: ContainerBackgroundPlacement): Modifier
fun Modifier.containerBackground(container: ContainerBackgroundPlacement, alignment: Alignment = Alignment.center, content: @Composable () -> Unit): Modifier