FlexBox is an experimental Compose container that lays out items in a single direction, dynamically resizing, wrapping, and aligning them to optimally fill the available space. Use this interactive visualizer to see how properties like basis, grow, and shrink affect your layout across different Android form factors, and copy the generated Kotlin code for your own app.
Read the FlexBox documentation | sanbeiji.com