dynamicAnimateWith method
TickerFuture
dynamicAnimateWith({
- required double target,
- double? value,
- double? velocity,
- SpringDescription? springDescription,
Dynamically-updatable animate.
Implementation
TickerFuture dynamicAnimateWith({
required double target,
double? value,
double? velocity,
SpringDescription? springDescription,
}) {
final simulation = SpringSimulation(
springDescription ?? defaultSpringDescription,
value ?? this.value,
target,
velocity ?? this.velocity,
);
return animateWith(simulation);
}