INNER CODE UNIT · Kotlin

GridItem

IacobIonut01/ReFra · commonMain/androidx/compose/foundation/layout/Grid.kt:862

private class GridItem(
    val measurable: Measurable,
    var row: Int,
    var column: Int,
    var rowSpan: Int,
    var columnSpan: Int,
    val alignment: Alignment,
    var placeable: Placeable? = null,
    var offsetX: Int = 0,
    var offsetY: Int = 0,
)

/**
 * The output of the [resolveGridItemIndices] algorithm.
 *
 * This container holds the complete layout plan required for subsequent measurement phases. It
 * encapsulates both the individual item positions and the aggregate dimensions of the grid.
 *

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…