AlignTransition constructor

const AlignTransition({Key key, @required Animation<AlignmentGeometry> alignment, @required Widget child, double widthFactor, double heightFactor })

Creates an animated Align whose AlignmentGeometry animation updates the widget.

See also:

Implementation

const AlignTransition({
  Key key,
  @required Animation<AlignmentGeometry> alignment,
  @required this.child,
  this.widthFactor,
  this.heightFactor,
}) : super(key: key, listenable: alignment);