How can I make a sweep gradient?
# compose
s
How can I make a sweep gradient?
n
We don't have a native sweep gradient API in compose yet but we have a demo of a color picker here that shows how too leverage the native sweep gradient API with compose here: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:compose/material/material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/ColorPickerDemo.kt;l=313?q=ColorPickerDemo
s
Alright thanks! Couldn't find an issue about it so do I make one just for tracking or it's not needed?
n
I think we already have a ticket tracking internally but there's nothing wrong with filing a duplicate if you would like. Thanks!
👍 1