Gets and sets the scale mode of this Stage. You can choose between four different modes defined in StageScaleMode.
Source
StageScaleMode get scaleMode => _stageScaleMode;
Source
set scaleMode(StageScaleMode value) { _stageScaleMode = value; _updateCanvasSize(); }