rect property

Animation<Rect?> rect

The animation that controls the child's size and position.

If the animation returns a null Rect, the rect is assumed to be Rect.zero.

See also:

  • size, which gets the size of the box that the Positioned widget's offsets are relative to.

Implementation

Animation<Rect?> get rect => listenable as Animation<Rect?>;