devicePixelRatio property

double get devicePixelRatio

A changed devicePixelRatio doesn't change anything in thee default implementation. Therefore, it is always 1.0, without checking the actual devicePixelRatio.

This method can be overridden to return the actual devicePixelRatio, if needed by a subclass.

Implementation

double get devicePixelRatio => 1.0;