@ExperimentalMotionApi
@LayoutScopeMarker
class KeyAttributesScope : BaseKeyFramesScope


Scope where multiple attribute KeyFrames may be defined.

See also
frame

Summary

Public functions

Unit
frame(frame: @IntRange(from = 0, to = 100) Int, keyFrameContent: KeyAttributeScope.() -> Unit)

Define KeyAttribute values at a given KeyFrame, where the frame is a specific progress value from 0 to 100.

Inherited properties

From androidx.constraintlayout.compose.BaseKeyFramesScope
Easing

The Easing curve to apply for the KeyFrames defined in this scope.

Public functions

frame

Added in 1.1.0
fun frame(frame: @IntRange(from = 0, to = 100) Int, keyFrameContent: KeyAttributeScope.() -> Unit): Unit

Define KeyAttribute values at a given KeyFrame, where the frame is a specific progress value from 0 to 100.

All properties set on KeyAttributeScope for this frame should also be set on other frame declarations made within this scope.