Center
| Type name | Supports Property Animations | Controlled by default | May contain associated action | Link |
|---|---|---|---|---|
| Center | ✗ | ✗ | ✗ | link |
Attributes (outdated models)
final class CenterAttributes implements DuitAttributes<CenterAttributes> {
final double? widthFactor;
final double? heightFactor;
CenterAttributes({
this.widthFactor,
this.heightFactor,
});
Usage
- Go
Center(&duit_attributes.CenterAttributes{
WidgthFactor: 1.2,
HeightFactor: 0.6,
},
"id",
false,
nil, //child
)