animateToEvent abstract method

  1. @override
Future<void> animateToEvent(
  1. KalenderEvent event, {
  2. Duration? pageDuration,
  3. Curve? pageCurve,
  4. Duration? scrollDuration,
  5. Curve? scrollCurve,
  6. bool centerEvent = true,
})

Animate to the given KalenderEvent.

event the KalenderEvent to animate to.

pageDuration the Duration of the page animation.

pageCurve the Curve of the page animation.

scrollDuration the Duration of the scroll animation.

scrollCurve the Curve of the scroll animation.

centerEvent center the event on the viewport.

Implementation

@override
Future<void> animateToEvent(
  KalenderEvent event, {
  Duration? pageDuration,
  Curve? pageCurve,
  Duration? scrollDuration,
  Curve? scrollCurve,
  bool centerEvent = true,
});