Tween
constructor(duration: Duration = 1.seconds, ease: MotionEasingFunction = MotionEasingFunction.EaseInOut, cubicBezier: List<Double>? = null, delay: Duration = Duration.ZERO, repeat: Int = 0, repeatType: RepeatType? = null, repeatDelay: Duration? = null)(source)
Parameters
duration
Duration of the animation (default is 1 second)
ease
Easing function (default is MotionEasingFunction.EaseInOut)
cubicBezier
Custom cubic bezier easing function
delay
Delay before the animation starts
repeat
Number of times the animation should repeat
repeatType
Type of the repeat
repeatDelay
Delay between repeats