isDiagonal property

bool get isDiagonal

✅ ADDED: Check if this is a diagonal direction

Implementation

bool get isDiagonal =>
    this == topLeft ||
    this == topRight ||
    this == bottomLeft ||
    this == bottomRight;