jumpToSelection method

void jumpToSelection()

Implementation

void jumpToSelection() {
  assert(
    _monthTimelineState != null,
    'YearTimelineController is not attached to any DatePicker View.',
  );

  // jump to the current Date
  _monthTimelineState!._controller
      .jumpTo(_calculateDateOffset(_monthTimelineState!._currentDate!));
}