AnimatedAlignModifier constructor
const
AnimatedAlignModifier({
- Key? key,
- Key? modifierKey,
- Curve curve = Curves.linear,
- Widget? child,
- required Duration duration,
- VoidCallback? onEnd,
- required AlignmentGeometry alignment,
- double? heightFactor,
- double? widthFactor,
Creates a widget that positions its child by an alignment that animates implicitly.
The alignment
, curve
, and duration
arguments must not be null.
Implementation
const AnimatedAlignModifier({
super.key,
super.modifierKey,
super.curve,
super.child,
required super.duration,
super.onEnd,
required this.alignment,
this.heightFactor,
this.widthFactor,
});