inflate method Null safety

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