inflate method

Rect inflate (double delta)

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

Implementation

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