containsPoint method
Implementation
bool containsPoint({
required double dx,
required double dy,
double tolerance = 0,
}) {
return dx >= left - tolerance &&
dx <= right + tolerance &&
dy >= top - tolerance &&
dy <= bottom + tolerance;
}