INNER CODE UNIT · Kotlin
Fr
IacobIonut01/ReFra · commonMain/androidx/compose/foundation/layout/Grid.kt:459
value class Fr(val value: Float) {
override fun toString(): String = "$value.fr"
}
/**
* Marker interface to enable vararg usage with [GridTrackSize].
*
* This allows the configuration DSL to accept [GridTrackSize] items in a vararg (e.g.,
* `columns(Fixed(10.dp), Flex(1.fr))`), bypassing the Kotlin limitation on value class varargs.
*/
@ExperimentalGridApi sealed interface GridTrackSpec
/**
* Defines the size of a track (a row or a column) in a [Grid].
*
* Use the companion functions (e.g., [Fixed], [Flex]) to create instances.
*/
@Immutable