Two-finger pinch zoom not working on Linux ARM64 touch screen

Hi Flutter community,

We are developing a Flutter application on Linux ARM64 with a touch screen display and trying to implement two-finger pinch zoom gestures.

We have tested the same code on other platforms, and pinch zoom works fine. But on Linux ARM64 touch screens, the gesture is either:

  • Not detected at all, or
  • Only triggers with three fingers instead of two.

Environment:

  • Flutter version: 3.24.5
  • Device: NVIDIA Orin Nano Developer Kit (Linux ARM64)
  • Display: Capacitive touch screen
  • OS: [Distributor ID: Ubuntu
    Description: Ubuntu 20.04.6 LTS
    Release: 20.04
    Codename: focal]

What we’ve tried:

  • GestureDetector with onScaleUpdate
  • Checking pointerCount in events
  • Using both Flutter stable and master channels

Any guidance or workaround would be greatly appreciated.

Thanks!