Gets and sets the width of the Stage in world coordinates. The initial value of sourceWidth is the width of the canvas element or the width provided in the constructor of the Stage.
Source
int get sourceWidth => _sourceWidth;
Source
set sourceWidth(int value) { _sourceWidth = ensureInt(value); _updateCanvasSize(); }