addMargin method
Implementation
RelativeRect addMargin(EdgeInsets? margin) {
if (margin == null) return this;
return RelativeRect.fromLTRB(left + margin.left, top + margin.top,
right + margin.right, bottom + margin.bottom);
}
RelativeRect addMargin(EdgeInsets? margin) {
if (margin == null) return this;
return RelativeRect.fromLTRB(left + margin.left, top + margin.top,
right + margin.right, bottom + margin.bottom);
}