This site requires javascript.
Android Code Search
file:androidx/constraintlayout/compose/MotionSceneScope.kt function:customColor
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
constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/
MotionSceneScope.kt
content_copy
Preview
314:
315:
316:
/** Declare a custom Color [value] addressed by [name]. */
fun
ConstrainScope.
customColor
(name: String, value: Color) {
if
(!containerObject.has(
"custom"
)) {
372:
373:
374:
/** Sets the custom Color [value] at the frame of the current [KeyAttributeScope]. */
fun
KeyAttributeScope.
customColor
(name: String, value: Color) {
// Colors must be in the following format: "#AARRGGBB"
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
Open branch androidx-main
Help