endOffsety method
Implementation
double? endOffsety(bool isVerticalDirectionFlag) {
if (rows.isEmpty == false) {
return (rows.last.offsety ?? 0) +
(isVerticalDirectionFlag
? rows.last.cellHeight
: rows.last.cellWidth);
}
if (header != null) {
return (header?.offsety ?? 0) +
(isVerticalDirectionFlag
? (header?.cellHeight ?? 0)
: (header?.cellWidth ?? 0));
}
return null;
}