inflateSize method

Size inflateSize (Size size)

Returns a new size that is bigger than the given size by the amount of inset in the horizontal and vertical directions.

See also:

Implementation

Size inflateSize(Size size) {
  return Size(size.width + horizontal, size.height + vertical);
}