rect property

Animation<Rect?> rect
final

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

final Animation<Rect?> rect;