rect property

Rect get rect

The bounding box for this node in its coordinate system.

Implementation

Rect get rect => _rect;
set rect (Rect value)

Implementation

set rect(Rect value) {
  assert(value.isFinite, '$this (with $owner) tried to set a non-finite rect.');
  if (_rect != value) {
    _rect = value;
    _markDirty();
  }
}