devicePixelRatio property

  1. @override
num get devicePixelRatio
override

The pixels ratio of the device of the canvasNative.

Implementation

@override
num get devicePixelRatio => window.devicePixelRatio;