devicePixelRatio property

num get devicePixelRatio

The ratio between physical pixels and logical CSS pixels.

Other resources

Implementation

num get devicePixelRatio native;