double width

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.

Source

double get width => _width;
void width=(double value)

Source

set width (double value) {
  if (value == _width)
    return;
  _width = value;
  markNeedsLayout();
}