inflate method

RelativeRect inflate(
  1. 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);
}