width property

double? get 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.

Implementation

double? get width => _width;
set width (double? value)

Implementation

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