Package com. google. accompanist. placeholder
Types
PlaceholderDefaults
Link copied to clipboard
object PlaceholderDefaults
Content copied to clipboard
PlaceholderHighlight
Link copied to clipboard
Functions
fade
Link copied to clipboard
fun PlaceholderHighlight.Companion.fade(highlightColor: Color, animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.fadeAnimationSpec): PlaceholderHighlight
Content copied to clipboard
placeholder
Link copied to clipboard
fun Modifier.placeholder(visible: Boolean, color: Color, shape: Shape = RectangleShape, highlight: PlaceholderHighlight? = null, placeholderFadeTransitionSpec: @Composable() Transition.Segment<Boolean>.() -> FiniteAnimationSpec<Float> = { spring() }, contentFadeTransitionSpec: @Composable() Transition.Segment<Boolean>.() -> FiniteAnimationSpec<Float> = { spring() }): Modifier
Content copied to clipboard
shimmer
Link copied to clipboard
fun PlaceholderHighlight.Companion.shimmer(highlightColor: Color, animationSpec: InfiniteRepeatableSpec<Float> = PlaceholderDefaults.shimmerAnimationSpec, @FloatRange(from = 0.0.toDouble(), to = 1.0.toDouble() ) progressForMaxAlpha: Float = 0.6f): PlaceholderHighlight
Content copied to clipboard