I want to use this type linearGradient for my back...
# compose
s
I want to use this type linearGradient for my background and how I can use Color/Brush as background in
Scaffold
. Thanks
g
Have you tried something on the lines of:
Copy code
Modifier
    .background(
        brush = Brush.horizontalGradient(
            colors = listOf(OverlayColorEnd, OverlayColorStart)
        )
    )
s
it’s working, I had to add
backgroundColor = Color.Transparent,
and it’s working
🙌 1