Can we maintain different variants of same Composa...
# compose
k
Can we maintain different variants of same Composable function for different flavors/build types?
c
I think they said in a podcast that Composable functions can have the `expect`/`actual` keyword, but I'm not 100% sure.
j
I am going to guess it should work like any other code, I think the easiest would be for you to try it out
j
Composable functions CAN have `expect`/`actual`; that's how Compose Desktop and Compose Android share the same code but have platform-specific implementations for things that can't be done with common code.
K 1
j
but different flavors/build types is something different than expect/actual