devicePixelRatio property
The device pixel ratio of this display.
This value is the same as the value of FlutterView.devicePixelRatio for all view objects attached to this display.
Implementation
@override
double get devicePixelRatio => vDevicePixelRatio ?? _display.devicePixelRatio;
set
devicePixelRatio
(double value)
Implementation
set devicePixelRatio(double value) {
vDevicePixelRatio = value;
_platformDispatcher.onMetricsChanged?.call();
}