touchesACorner property
bool
touchesACorner
Implementation
bool get touchesACorner {
if (data == null) return false;
final x = data!.x;
final y = data!.y;
return (x == -1 && y == -1) ||
(x == -1 && y == 1) ||
(x == 1 && y == -1) ||
(x == 1 && y == 1);
}