inflateSize method

Size inflateSize (
  1. Size size
)
inherited

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);
}