isViewportInteracting property
Observable flag for whether the viewport is currently being interacted with.
True during canvas panning/zooming via InteractiveViewer. This is used to suppress hover effects on ports during viewport interactions, preventing stale highlights when the mouse passes over ports during pan gestures.
Implementation
final Observable<bool> isViewportInteracting = Observable(false);