Returns a new size with the given width and the same height.
Size withWidth(double newWidth) { return Size(newWidth, height); }