isCellValid method

  1. @override
bool isCellValid(
  1. int x,
  2. int y
)
override

Whether cell (x, y) is valid and inside the current active clip bounds.

Implementation

@override
bool isCellValid(int x, int y) {
  if (x < 0 || x >= bounds.width || y < 0 || y >= bounds.height) return false;
  return parent.isCellValid(bounds.x + x, bounds.y + y);
}