Object

PaneMotionDefaults

The default settings of pane motions.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@ExperimentalMaterial3AdaptiveApi
object PaneMotionDefaults

The default settings of pane motions.

Properties

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.

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.

Common
val VisibilityAnimationSpec: FiniteAnimationSpec<Float>

The default FiniteAnimationSpec used to animate panes' visibility.

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.

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.

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.

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.