What would be a good approach to building a “modular” composable. e.g. something that has a header,content,footer section. Would you you write it like fun Container(header: () -> Composable, content: () -> Composable, footer: () -> Composable): Composable ?
a
alorma
08/05/2021, 8:51 AM
you can take a look at how
Scaffold
is implemented
👍 2
r
Rob Meeuwisse
08/05/2021, 8:53 AM
Yes, was typing out the same reply. Have a look at