updateThirdIndex method Null safety

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

更新第三列index

Implementation

@override
void updateThirdIndex(int index) {
  super.updateThirdIndex(index);

  int minDay = _minDayOfCurrentMonth();
  currentTime = currentTime.isUtc
      ? DateTime.utc(
          currentTime.year,
          currentTime.month,
          minDay + index,
        )
      : DateTime(
          currentTime.year,
          currentTime.month,
          minDay + index,
        );
}