Rect inflate(double delta)

Returns a new rectangle with edges moved outwards by the given delta.

Source

Rect inflate(double delta) {
  return new Rect.fromLTRB(left - delta, top - delta, right + delta, bottom + delta);
}