Skip to main content

Align

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
Align✔️✗✗link
Attributes (outdated models)
final class AlignAttributes extends AnimatedPropertyOwner
implements DuitAttributes<AlignAttributes> {
final AlignmentGeometry? alignment;
final double? widthFactor, heightFactor;

const AlignAttributes({
this.alignment,
this.widthFactor,
this.heightFactor,
required super.parentBuilderId,
required super.affectedProperties,
});

Usage​

Align(
&duit_attributes.AlignAttributes{
Alignment: duit_alignment.Center,
},
"id",
false,
//child,
)