commonMain.com.bselzer.ktx.compose.ui.layout.project.Presentable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-ui-layout-jvm Show documentation
Show all versions of compose-ui-layout-jvm Show documentation
Base extensions for laying out Compose Multiplatform UI.
package com.bselzer.ktx.compose.ui.layout.project
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.bselzer.ktx.compose.ui.layout.modifier.presentable.PresentableModifier
/**
* Represents a model for creating a composable.
*/
interface Presentable : Mergeable where Model : Presentable {
/**
* The [Modifier]s.
*/
val modifier: PresentableModifier // TODO should modifiers be segregated between presentable and interactable rather than just using Modifier directly?
/**
* Creates a localized version of this presentation.
*/
@Composable
fun localized(): Model // TODO add composition local usage?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy