AlignTransition constructor

const AlignTransition(
  1. {Key? key,
  2. required Animation<AlignmentGeometry> alignment,
  3. required Widget child,
  4. double? widthFactor,
  5. double? heightFactor}
)

Creates an animated Align whose AlignmentGeometry animation updates the widget.

See also:

Implementation

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