Compares sizes for equality.
@override bool operator ==(Object other) { if (other is Size) { return width == other.width && height == other.height; } else { return false; } }