NonLazyGrid
fun NonLazyGrid(columns: Int, itemCount: Int, modifier: Modifier = Modifier, content: @Composable (Int) -> Unit)(source)
Simple grid that measures and places all items without lazy behaviour.
The grid arranges itemCount items into the given number of columns and invokes content for each index. Useful for small grids where the overhead of a Lazy component is unnecessary.
Parameters
columns
Number of columns in the grid.
itemCount
Total number of items to show.
modifier
Modifier applied to the container.
content
Composable lambda called for each item index.