commonMain.com.huanshankeji.compose.foundation.lazy.LazyItemScope.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-multiplatform-html-unified-common
Show all versions of compose-multiplatform-html-unified-common
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.lazy
import androidx.annotation.FloatRange
import androidx.compose.runtime.Stable
import com.huanshankeji.compose.ui.Modifier
@Stable
/*
@LazyScopeMarker
@JvmDefaultWithCompatibility
*/
expect class LazyItemScope {
fun Modifier.fillParentMaxSize(
@FloatRange(from = 0.0, to = 1.0)
fraction: Float = 1f
): Modifier
fun Modifier.fillParentMaxWidth(
@FloatRange(from = 0.0, to = 1.0)
fraction: Float = 1f
): Modifier
fun Modifier.fillParentMaxHeight(
@FloatRange(from = 0.0, to = 1.0)
fraction: Float = 1f
): Modifier
/*
@ExperimentalFoundationApi
fun Modifier.animateItemPlacement(
animationSpec: FiniteAnimationSpec = spring(
stiffness = Spring.StiffnessMediumLow,
visibilityThreshold = androidx.compose.ui.unit.IntOffset.VisibilityThreshold
)
): Modifier
*/
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy