columns property

Iterable<Rect> get columns

Yields each column as a full-height Rect of width 1.

Implementation

Iterable<Rect> get columns sync* {
  for (var col = x; col < right; col++) {
    yield Rect(col, y, 1, height);
  }
}