viewportSize property
The size of the view driving this controller, in logical pixels.
Set by CameraControls so pixel-space input can be normalized to the view. Defaults to a unit size so a controller driven only through its intent methods still behaves.
Implementation
Size viewportSize = const Size(1.0, 1.0);