Returns a new size with the width and height scaled by the given factors.
Size scaleSize(double widthFactor, double heightFactor) { return Size(width * widthFactor, height * heightFactor); }