ModifiersBuilders.AnimatedVisibility.Builder


class ModifiersBuilders.AnimatedVisibility.Builder


Builder for AnimatedVisibility

Summary

Public constructors

Creates an instance of Builder.

Public functions

ModifiersBuilders.AnimatedVisibility

Builds an instance from accumulated values.

ModifiersBuilders.AnimatedVisibility.Builder
@RequiresSchemaVersion(major = 1, minor = 200)
setEnterTransition(enterTransition: ModifiersBuilders.EnterTransition)

Sets the content transition that is triggered when element enters the layout.

ModifiersBuilders.AnimatedVisibility.Builder
@RequiresSchemaVersion(major = 1, minor = 200)
setExitTransition(exitTransition: ModifiersBuilders.ExitTransition)

Sets the content transition that is triggered when element exits the layout.

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): ModifiersBuilders.AnimatedVisibility

Builds an instance from accumulated values.

setEnterTransition

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
fun setEnterTransition(enterTransition: ModifiersBuilders.EnterTransition): ModifiersBuilders.AnimatedVisibility.Builder

Sets the content transition that is triggered when element enters the layout.

setExitTransition

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
fun setExitTransition(exitTransition: ModifiersBuilders.ExitTransition): ModifiersBuilders.AnimatedVisibility.Builder

Sets the content transition that is triggered when element exits the layout. Note that indefinite exit animations are ignored.