rect property Null safety

Animation<Rect> rect

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

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>;