devicePixelRatio property

double get devicePixelRatio
return MediaQuery.of(context).devicePixelRatio

Implementation

double get devicePixelRatio => data.devicePixelRatio;