circularReveal
fun Modifier.circularReveal(visible: Boolean, center: (fullSize: Size) -> Offset = { Offset.Unspecified }, transitionSpec: @Composable Transition.Segment<Boolean>.() -> FiniteAnimationSpec<Float> = { spring() }, label: String = "CircularReveal"): Modifier(source)
Draws circular reveal animation.
Parameters
visible
whether the circular reveal animation should be visible or not.
center
The x,y coordinates at which the circular reveal animation starts or ends. If undefined or Offset.Unspecified, the x,y coordinates will be the center of Size.
transitionSpec
The transition spec to use when clipping the screen. The boolean parameter defined for the transition is visible.
label
An optional label to differentiate from other animations in Android Studio.