animateToDate method
Animate to the date part of the given DateTime.
Implementation
@override
Future<void> animateToDate(DateTime date, {Duration? duration, Curve? curve}) => _navigate(
(viewController) => viewController.animateToDate(date, duration: duration, curve: curve),
() => ViewSnapshot(date: FloatingDateTime.fromExternal(date, location: _location)),
);