fling method
TickerFuture
fling(
- double? from,
- double? to, {
- double velocity = 1.0,
- AnimationBehavior? animationBehavior,
Implementation
TickerFuture fling(double? from, double? to,
{double velocity = 1.0, AnimationBehavior? animationBehavior}) {
final double? target = velocity < 0.0 ? from : to;
return launchTo(value, target,
velocity: velocity, animationBehavior: animationBehavior);
}