currentDisplayScale property
double
get
currentDisplayScale
The last value given to displayScale, 1 until one is reported. Mirrors the native backend's own default so a layout that resizes before the stage reports a scale still passes a number to its script.
Implementation
double get currentDisplayScale;