Class

ArcAnimationSpec

DurationBasedAnimationSpec that interpolates 2-dimensional values using arcs of quarter of an Ellipse.

OffsetArcAnimationSpec

@Sampled
fun OffsetArcAnimationSpec() {
    // Will interpolate the Offset in arcs such that the curve of the quarter of an Ellipse is above
    // the center.
    ArcAnimationSpec<Offset>(mode = ArcAbove)
}
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: