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

commonMain.com.huanshankeji.compose.ui.Modifier.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.ui

expect interface Modifier {
    open fun  foldIn(initial: R, operation: (R, Element) -> R): R
    open infix fun then(other: Modifier): Modifier
    interface Element : Modifier
    companion object : Modifier
}

/**
 * This serves as a shortcut for code completion and an alternative name when you prefer another type taking the name `Modifier` in a file.
 * In most cases, it's recommended to use [Modifier] directly.
 */
typealias CommonModifier = Modifier




© 2015 - 2025 Weber Informatics LLC | Privacy Policy