Hey, can someone recommend a lib/approach to "Screenshot" the contents of a Composable? I would need atleast Android, Desktop, WasmJs and Js support. The content of the composeable is a Layout which represents a Grid, the contents being a Text() with coloured background(at the moment) - I could draw this myself fairly easily in a Image Container, but maybe there is a more approachable way đŸ˜›
What's your use case here? Are you trying to capture screens during runtime of the real app, or are you trying to do snapshot testing to compare screens against previous versions?