MutableContentTransform


An object that allows manual manipulation of both entering and exiting content during the deferred phase (initiated by DeferredTransitionState.defer) of an AnimatedContent transition.

Use initialContentTransform to define transformations for the exiting (initial) content and targetContentTransform for the entering (target) content.

See also
MutableTransform

Summary

Public functions

Unit

Define the manual transformation to apply to the exiting content during the deferred phase.

Cmn
Unit

Define the manual transformation to apply to the entering content during the deferred phase.

Cmn

Public functions

initialContentTransform

fun initialContentTransform(block: TransformScope.(fullSize: IntSize) -> Unit): Unit

Define the manual transformation to apply to the exiting content during the deferred phase.

Parameters
block: TransformScope.(fullSize: IntSize) -> Unit

A lambda that applies transformations to the provided TransformScope.

targetContentTransform

fun targetContentTransform(block: TransformScope.(fullSize: IntSize) -> Unit): Unit

Define the manual transformation to apply to the entering content during the deferred phase.

Parameters
block: TransformScope.(fullSize: IntSize) -> Unit

A lambda that applies transformations to the provided TransformScope.