runAllWithSpring top-level constant
dynamic Function(List<_InternalShared> tweenables, List<double> destinations, {double? damping, int? delay, int? duration, double? mass, void onComplete()?, double? stiffness, double? velocity})
const runAllWithSpring
Starts all the Tweenable with the withSpring animation to the
corresponding destinations
.
Examples
runAllWithSpring([x,y],[40, 50])
This code will animate x
to 40
and y
to 50
with spring stimulation.
Other parameters of the withSpring function can be passed as
named augments
Implementation
const runAllWithSpring = _AnimationFunctions._runAllWithSpring;