🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

GridCells.Fixed

Defines a grid with fixed number of rows or columns.

Source set: Common
public class Fixed(private val count: Int) : GridCells

Defines a grid with fixed number of rows or columns.

For example, for the vertical LazyVerticalGrid Fixed(3) would mean that there are 3 columns 1/3 of the parent width.

Functions

calculateCrossAxisCellSizes

Source set: Common
override fun Density.calculateCrossAxisCellSizes(
            availableSize: Int,
            spacing: Int,
        ): List<Int>

hashCode

Source set: Common
override fun hashCode(): Int

equals

Source set: Common
override fun equals(other: Any?): Boolean