devicePixelRatio property

double get devicePixelRatio

Equivalent to MediaQuery.devicePixelRatioOf(context)

Implementation

double get devicePixelRatio => MediaQuery.devicePixelRatioOf(this);