Align
| Type name | Supports Property Animations | Controlled by default | May contain associated action | Link |
|---|---|---|---|---|
| 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
- Go
Align(
&duit_attributes.AlignAttributes{
Alignment: duit_alignment.Center,
},
"id",
false,
//child,
)