width property Null safety

int width

The width, in pixels, of the image.

On the Web, this is only supported for raw images.

Implementation

int get width => _width ??= _getWidth();