Can not use theme color in Canvas DrawScope. Defau...
# compose
h
Can not use theme color in Canvas DrawScope. Default colors works just fine. Here are screens of both cases. Am I missing something?
d
You have to get the material color outside the canvas function.
h
Means I can not directly access material theme color in Canvas function?
That worked..
Thanks..
z
The colors property is a composable property, and DrawScope functions are not composable.
h
Gotcha.. Thanks 🙂