viewerCamera property

ValueNotifier<Matrix4> viewerCamera
latefinal

Screen-local pan + zoom transform driven by two-finger gestures. Resets to identity each DrawScreen push — the zoom is a viewport adjustment for stroke precision, not a committed adjustment, so it doesn't survive back on the host or into the crop editor.

Implementation

late final ValueNotifier<vmath.Matrix4> viewerCamera =
    ValueNotifier<vmath.Matrix4>(vmath.Matrix4.identity());