width property
If non-null, requires the image to have this width.
If null, the image will pick a size that best preserves its intrinsic aspect ratio.
Implementation
double? get width => _width;
Implementation
set width(double? value) {
if (value == _width) {
return;
}
_width = value;
markNeedsLayout();
}