defaultLogicalPpi constant

double const defaultLogicalPpi

Default value for logicalPpi is 160.

The value 160 comes from the definition of an Android dp.

Though Flutter provies a reference value for its logical pixel of 38 lp/cm. However this value is simply too off from the scale so we use 160 lp/in.

Implementation

static const defaultLogicalPpi = 72.27 / _defaultLpPerPt;