setRightIndex method

  1. @override
void setRightIndex(
  1. int index
)
override

Implementation

@override
void setRightIndex(int index) {
  super.setRightIndex(index);
  int minDay = _minDayOfCurrentMonth();
  currentTime = currentTime.isUtc
      ? DateTime.utc(
          currentTime.year,
          currentTime.month,
          minDay + index,
        )
      : DateTime(
          currentTime.year,
          currentTime.month,
          minDay + index,
        );
}