Zoltan Demant
07/06/2023, 3:32 AMColorProducer
parameter; I think I get the gist of it, but are there any usage examples out there for a curious mind?Ben Trengrove [G]
07/06/2023, 4:14 AMval color by animateColorAsState(if (enabled) Color.Green else Color.Red)
BasicText(text = "Hello", color = { color })
Zoltan Demant
07/06/2023, 4:17 AMshikasd
07/06/2023, 8:38 AMColorProducer
is basically () -> Color
which doesn't box the color valueAbhimanyu
10/15/2023, 2:38 PMBasicText
and not for Text
.
Is there a specific reason for this, or will it be made available later?”