This site requires javascript.
Android Code Search
file:androidx/compose/foundation/layout/Padding.kt function:padding
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-layout/src/commonMain/kotlin/androidx/compose/foundation/layout/
Padding.kt
content_copy
Preview
52:
53:
54:
@Stable
fun
Modifier.
padding
(start: Dp =
0
.dp, top: Dp =
0
.dp, end: Dp =
0
.dp, bottom: Dp =
0
.dp) =
this then
82:
83:
84:
@Stable
fun
Modifier.
padding
(horizontal: Dp =
0
.dp, vertical: Dp =
0
.dp) =
this then
110:
111:
112:
@Stable
fun
Modifier.
padding
(all: Dp) =
this then
137:
138:
139:
@Stable
fun
Modifier.
padding
(paddingValues: PaddingValues) =
this then
161:
162:
163:
@Stable
fun
Modifier.absolute
Padding
(left: Dp =
0
.dp, top: Dp =
0
.dp, right: Dp =
0
.dp, bottom: Dp =
0
.dp) =
this then
188:
189:
190:
/** The padding to be applied along the top edge inside a box. */
fun
calculateTop
Padding
(): Dp
219:
220:
override
fun
calculateTop
Padding
() = top
271:
272:
273:
/** Creates a padding of [all] dp along all 4 edges. */
@Stable
fun
Padding
Values(all: Dp): PaddingValues = PaddingValuesImpl(all, all, all, all)
278:
279:
280:
@Stable
fun
Padding
Values(horizontal: Dp =
0
.dp, vertical: Dp =
0
.dp): PaddingValues =
PaddingValuesImpl(horizontal, vertical, horizontal, vertical)
287:
288:
289:
@Stable
fun
Padding
Values(
start: Dp =
0
.dp,
unfold_more
Show 12 more matching lines
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