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

StaggeredGridCells.Fixed

Defines a grid with fixed number of rows or columns.

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

Defines a grid with fixed number of rows or columns.

For example, for the vertical LazyVerticalStaggeredGrid 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,
        ): IntArray

hashCode

Source set: Common
override fun hashCode(): Int

equals

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