Relative Content

Tag Archive for flutterdartuser-interfacefrontend

How to properly handle offsets with Flutter GestureDetector and InteractiveViewer

Problem I am building a Widget that draws objects where I would like to allow panning+zooming while also detecting when taps/clicks overlap with objects drawn on the screen. The problem is that after panning or zooming, the taps are registered local to the initial frame, causing a significat offset to the actual cursor position, and […]