pixelDensity

Number of pixels per point along each axis: 2 on a Retina display, 1 on a standard one.

pixelWidth is about width times this value. It changes when the window moves to a display with a different density, and it is 1 when the platform cannot report it.