needUpdatePrev method
是否需要更新前面的列 Need to update previous columns
Implementation
@override
bool needUpdatePrev(int curIndex) {
if (_needUpdatePrev) {
if (value?.month == 2) {
// Only February needs to be dealt with
var curentColumnType = getColumnType(curIndex);
return curentColumnType == 1 || curentColumnType == 0;
} else if (_apBeforeHourAp) {
return getColumnType(curIndex) == 6;
}
}
return false;
}