All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.huanshankeji.compose.foundation.layout.Arrangement.kt Maven / Gradle / Ivy

Go to download

Common wrappers of components (including layouts) and modifiers for Compose UI (Android, desktop (JVM), iOS, and web (Kotlin/Wasm)) and Compose HTML

The newest version!
package com.huanshankeji.compose.foundation.layout

import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import androidx.compose.ui.unit.Dp

@Immutable
expect object Arrangement {
    @Stable
    interface Horizontal

    @Stable
    interface Vertical

    @Stable
    interface HorizontalOrVertical : Horizontal, Vertical

    @Stable
    val Start: Horizontal

    @Stable
    val End: Horizontal

    @Stable
    val Top: Vertical

    @Stable
    val Bottom: Vertical

    @Stable
    val Center: HorizontalOrVertical

    @Stable
    val SpaceEvenly: HorizontalOrVertical

    @Stable
    val SpaceBetween: HorizontalOrVertical

    @Stable
    val SpaceAround: HorizontalOrVertical

    @Stable
    fun spacedBy(space: Dp): HorizontalOrVertical
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy