Ensures that this Size is not larger than the specified maximum in any axis.
maximum
Size coerceAtMost(Size maximum) => Size(math.min(width, maximum.width), math.min(height, maximum.height));