inflate method

RelativeRect inflate (double delta)

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

Implementation

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