Object

PaneMotionDefaults

The default settings of pane motions.

Source set: Common
@ExperimentalMaterial3AdaptiveApi
object PaneMotionDefaults

The default settings of pane motions.

Properties

AnimationSpec

Source set: Common
val AnimationSpec: FiniteAnimationSpec<IntRect>

The default FiniteAnimationSpec used to animate panes. Note that the animation spec is based on bounds animation - in a situation to animate offset or size independently, developers can use the derived OffsetAnimationSpec and SizeAnimationSpec.

DelayedAnimationSpec

Source set: Common
val DelayedAnimationSpec: FiniteAnimationSpec<IntRect>

The default FiniteAnimationSpec used to animate panes with a delay. Note that the animation spec is based on bounds animation - in a situation to animate offset or size independently, developers can use the derived DelayedOffsetAnimationSpec and DelayedSizeAnimationSpec.

VisibilityAnimationSpec

Source set: Common
val VisibilityAnimationSpec: FiniteAnimationSpec<Float>

The default FiniteAnimationSpec used to animate panes' visibility.

OffsetAnimationSpec

Source set: Common
val OffsetAnimationSpec: FiniteAnimationSpec<IntOffset>

The derived FiniteAnimationSpec that can be used to animate panes' positions when the specified pane motion is sliding in or out without size change. The spec will be derived from the provided AnimationSpec the using the corresponding top-left coordinates.

SizeAnimationSpec

Source set: Common
val SizeAnimationSpec: FiniteAnimationSpec<IntSize>

The derived FiniteAnimationSpec that can be used to animate panes' sizes when the specified pane motion is expanding or shrinking without position change. The spec will be derived from the provided AnimationSpec by using the corresponding sizes.

DelayedOffsetAnimationSpec

Source set: Common
val DelayedOffsetAnimationSpec: FiniteAnimationSpec<IntOffset>

The derived FiniteAnimationSpec that can be used to animate panes' positions when the specified pane motion is sliding in or out with a delay without size change. The spec will be derived from the provided DelayedAnimationSpec the using the corresponding top-left coordinates.

DelayedSizeAnimationSpec

Source set: Common
val DelayedSizeAnimationSpec: FiniteAnimationSpec<IntSize>

The derived FiniteAnimationSpec that can be used to animate panes' sizes when the specified pane motion is expanding or shrinking with a delay without position change. The spec will be derived from the provided DelayedAnimationSpec by using the corresponding sizes.

Last updated: