How would i create a `Card` with these gradient?, ...
# compose
z
How would i create a
Card
with these gradient?,
card
background color only responds to
backgroundColor
, using modifer like this:
Copy code
.background(brush = Brush.linearGradient(
                        colors = listOf(
                            colorResource(id = R.color.lemonade_pink),
                            Color.White.copy(alpha = 0.1f)),
                        start = Offset(0f, Float.POSITIVE_INFINITY),
                        end = Offset(Float.POSITIVE_INFINITY, 0f)
                    )
                )