isRowOutsideOfGrid method
Checks if the row
with the span = rowSpan
and specific anchor
is outside the defined grid.
Implementation
bool isRowOutsideOfGrid(int row, int rowSpan, GridPadSpanAnchor anchor) {
final top = anchor.topBound(row, rowSpan);
final bottom = anchor.bottomBound(row, rowSpan);
return top < 0 || bottom >= rowCount;
}