shared/utils/layer_animation_progress library
Classes
- LayerAnimationProgress
- How far an animation has brought a layer back to rest at one moment.
Functions
-
applyLayerAnimationCurve(
AnimationCurve curve, double t) → double -
Eases
t(0–1) withcurveexactly as the native renderer inpro_video_editordoes (applyEasingin ApplyAnimation.kt/.swift). -
layerAnimationProgress(
LayerAnimation animation, Duration time, {required Duration? start, required Duration? end}) → LayerAnimationProgress? -
The progress of
animationattimeinto the video, ornullwhen it does not play then.