AnimatedAlign
| Type name | Supports Property Animations | Controlled by default | May contain associated action | Link |
|---|---|---|---|---|
| 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
- Go
AnimatedAlign(
&duit_attributes.AnimatedAlignAttributes{
Alignment: duit_alignment.Center,
ImplicitAnimatable: duit_animations.ImplicitAnimatable{
Duration: 1000,
},
},
"id",
nil, //child
)