width property Null safety
read / write
The width of the image displayed in the canvas. If the right side of the image extends beyond the canvas. The setting becomes invalid. The width of the canvas is used by default.
Implementation
int width;