isColumnOutsideOfGrid method
Checks if the column
with the span = columnSpan
and specific anchor
is outside the defined grid.
Implementation
bool isColumnOutsideOfGrid(
int column,
int columnSpan,
GridPadSpanAnchor anchor,
) {
final left = anchor.leftBound(column, columnSpan);
final right = anchor.rightBound(column, columnSpan);
return left < 0 || right >= columnCount;
}