animateTo method
Future<void>
animateTo(
- DateTime value, {
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeOutCubic,
inherited
Animates the controller to the given value.
Implementation
Future<void> animateTo(
T value, {
Duration duration = const Duration(milliseconds: 300),
Curve curve = Curves.easeOutCubic,
}) async {
if (rawValue != value) {
await rawAnimateTo(value, duration, curve);
}
}