Join Slack
When I try to get primaryColor from outside an annotated composable fun I get an error say "@Composa...
# compose
a
AmrJyniat
10/16/2021, 11:23 AM
When I try to get primaryColor from outside an annotated composable fun I get an error say "@Composable invocations can only happen from the context of a @Composable function" How to get a specific color from outside an annotated composable fun?
k
K Merle
10/17/2021, 2:28 AM
Pass it in as a parameter.
✅ 1
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by