spannedItems property
returns List of Spanned Cells as
["A1:A2", "A4:G6", "Y4:Y6", ....]
return type if String based cell-id
Implementation
List<String> get spannedItems {
_spannedItems = FastList<String>();
for (int i = 0; i < _spanList.length; i++) {
_Span? spanObj = _spanList[i];
if (spanObj == null) {
continue;
}
String rC = getSpanCellId(spanObj.columnSpanStart, spanObj.rowSpanStart,
spanObj.columnSpanEnd, spanObj.rowSpanEnd);
if (!_spannedItems.contains(rC)) {
_spannedItems.add(rC);
}
}
return _spannedItems.keys;
}