Skip to main content

OverflowBox

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
OverflowBox✔️✗✗link
Attributes (outdated models)
final class OverflowBoxAttributes extends AnimatedPropertyOwner
implements DuitAttributes<OverflowBoxAttributes> {
final double? minWidth, maxWidth, minHeight, maxHeight;
final AlignmentGeometry? alignment;
final OverflowBoxFit? fit;

const OverflowBoxAttributes({
this.minWidth,
this.maxWidth,
this.minHeight,
this.maxHeight,
this.fit,
this.alignment,
required super.parentBuilderId,
required super.affectedProperties,
});

Usage​

OverflowBox(
&duit_attributes.OverflowBoxAttributes{
Alignment: duit_alignment.BottomCenter,
MinWidth: 100,
MaxWidth: 200,
MinHeight: 100,
MaxHeight: 200,
Fit: duit_flex.Max,
},
"id",
false,
nil, //child
)