isCellValid method
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);
}