jumpToEvent method

Future<void> jumpToEvent(
  1. CalendarEventData<T> event
)

Jumps to page which contains given events and make event tile visible to user.

Implementation

Future<void> jumpToEvent(CalendarEventData<T> event) async {
  jumpToDate(event.date);

  await _scrollConfiguration.setScrollEvent(
    event: event,
    duration: Duration.zero,
    curve: Curves.ease,
  );
}