rect property

Rect get rect

Implementation

Rect get rect =>
    position == null ? Rect.zero : (position! + model.margin.topLeft & size);