Skip to main content

AnimatedAlign

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
AnimatedAlign✗✔️✗link
Attributes (outdated models)
final class AnimatedAlignAttributes extends ImplicitAnimatable
implements DuitAttributes<AnimatedAlignAttributes>, _AlignProps {

final AlignmentGeometry alignment;

final double? widthFactor, heightFactor;

const AnimatedAlignAttributes({
required this.alignment,
this.widthFactor,
this.heightFactor,
required super.duration,
super.curve,
super.onEnd,
});

Usage​

AnimatedAlign(
&duit_attributes.AnimatedAlignAttributes{
Alignment: duit_alignment.Center,
ImplicitAnimatable: duit_animations.ImplicitAnimatable{
Duration: 1000,
},
},
"id",
nil, //child
)