logicalWidth property

double get logicalWidth

The canvas in logical pixels — what a frame's layout is written against.

Implementation

double get logicalWidth => width / pixelRatio;