New Compose Multiplatform components arrived on Composables UICheck it out →

Modifier in Wear Material Compose

placeholderShimmer

Android

Last updated:

Installation

dependencies {
   implementation("androidx.wear.compose:compose-material:1.4.0-beta03")
}

Overloads

@Composable
@OptIn(ExperimentalWearFoundationApi::class
@ExperimentalWearMaterialApi
@Suppress("ComposableModifierFactory", "DEPRECATION"
fun Modifier.placeholderShimmer(
    placeholderState: PlaceholderState,
    shape: Shape = MaterialTheme.shapes.small,
    color: Color = MaterialTheme.colors.onSurface,
)