Hello! How do I rotate the gradient 180 degree? `...
# compose
n
Hello! How do I rotate the gradient 180 degree?
Copy code
Brush.linearGradient(
    0.5f to Color(0xFF26313C).copy(alpha = .0f),
    1.0f to Color(0xFF26313C).copy(alpha = .6f)
)
1
a
Copy code
Brush.linearGradient(
    0.5f to Color(0xFF26313C).copy(alpha = .0f),
    1.0f to Color(0xFF26313C).copy(alpha = .6f),
    start = Offset(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY),
    end = Offset(0f, 0f),
)
1
n
Awesome thanks @Arsen!