rect property Null safety
Get or set the current values in terms of a RelativeRect object.
Implementation
RelativeRect get rect => RelativeRect.fromLTRB(left!, top!, right!, bottom!);
Implementation
set rect(RelativeRect value) {
top = value.top;
right = value.right;
bottom = value.bottom;
left = value.left;
}