width property
double?
get
width
Implementation
double? get width => _width;
set
width
(double? newValue)
Implementation
set width(double? newValue) {
if (newValue != null) {
_width = newValue;
sizedBox.additionalConstraints = BoxConstraints.expand(
width: width,
height: height ?? width! / aspectRatio,
);
}
}