debugOverrideDevicePixelRatio function
- double? value
Overrides the value of ui.FlutterView.devicePixelRatio in tests.
Passing null
resets the device pixel ratio to the browser's default.
Implementation
void debugOverrideDevicePixelRatio(double? value) {
EngineFlutterDisplay.instance.debugOverrideDevicePixelRatio(value);
}