sourceHeight property
int
sourceHeight
Gets and sets the height of the Stage in world coordinates. The initial value of sourceHeight is the height of the canvas element or the height provided in the constructor of the Stage.
Implementation
int get sourceHeight => _sourceHeight;
Implementation
set sourceHeight(int value) {
_sourceHeight = value;
_updateCanvasSize();
}