AnimatedVisibility

constructor(visible: Boolean, enter: EnterTransition = fadeIn(), exit: ExitTransition = fadeOut(), style: Style = Style, label: String = "AnimatedVisibility", content: ComponentScope.() -> Component?)

Parameters

visible

Whether the content should be visible.

enter

The enter animation. Defaults to fadeIn.

exit

The exit animation. Defaults to fadeOut.

style

Style applied to the animation wrapper.

label

Debug label for the underlying transition.

content

Builder for the child component to animate.