Returns a new size that is bigger than the given size by the amount of inset in the horizontal and vertical directions.
See also:
- inflateRect, to inflate a Rect rather than a Size.
- deflateSize, to deflate a Size rather than inflating it.
Source
Size inflateSize(Size size) { return new Size(size.width + horizontal, size.height + vertical); }