sourceWidth property
int
sourceWidth
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.
Implementation
int get sourceWidth => _sourceWidth;
Implementation
set sourceWidth(int value) {
_sourceWidth = value;
_updateCanvasSize();
}