width property Null safety
final
The width of the canvas
Value range: 0~1920. If the value is an odd number, rounded down to the nearest even number.
Implementation
final int width;
The width of the canvas
Value range: 0~1920. If the value is an odd number, rounded down to the nearest even number.
final int width;