Compares two Offsets for equality.
@override bool operator ==(Object other) { return other is Offset && other.dx == dx && other.dy == dy; }