This site requires javascript.
Android Code Search
file:androidx/compose/foundation/Background.kt function:background
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/
Background.kt
content_copy
Preview
46:
47:
48:
@Stable
fun
Modifier.
background
(color: Color, shape: Shape = RectangleShape): Modifier {
val
alpha =
1.0f
// for solid colors
74:
75:
76:
@Stable
fun
Modifier.
background
(
brush: Brush,
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main