AlignTransitionModifier constructor

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

Creates an animated Align whose AlignmentGeometry animation updates the widget.

See also:

Implementation

const AlignTransitionModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.alignment,
  this.widthFactor,
  this.heightFactor,
});