Skip to main content

Center

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
Center✗✗✗link
Attributes (outdated models)
final class CenterAttributes implements DuitAttributes<CenterAttributes> {
final double? widthFactor;
final double? heightFactor;

CenterAttributes({
this.widthFactor,
this.heightFactor,
});

Usage​

Center(&duit_attributes.CenterAttributes{
WidgthFactor: 1.2,
HeightFactor: 0.6,
},
"id",
false,
nil, //child
)