2
Composable not being drawn
(programming.dev)
Welcome to the programming.dev Android development community!
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License
A Composable is not meant to return anything if it draws something. In your case it should look like this:
Found out why apparently you have to .invoke it because it needs to be in a rowscope