~/talk

Understanding Flutter's handling of Gestures

Talkat Flutter Vikings 2022 · 2022-08-31..09-01· [flutter, testing]
links:none on file
slides:none on file

Explains the exact Flutter pipeline: pointer down/move/up flows through platform dispatcher, hit testing in the render tree, dispatch to RenderPointerListener and RawGestureDetector which registers GestureRecognizers via the pointer router, then conflict resolution in the gesture arena. Claims GestureDetector covers about 95% of needs, shows how to extend recognizers (example triple tap and rotation via ScaleGestureRecognizer), shows Listener for non-arena raw pointers, and tests everything with WidgetTester/TestGesture down move up; repository sandbox is available.

AI-written summary · about

  1. 0:00Introduction to gesture handling
  2. 1:32Deep dive into raw gestures
  3. 2:44Flutter gesture internals
  4. 7:52Implementing custom recognizers
  5. 14:48Hit test behaviors
  6. 21:00The gesture arena and listeners
  7. 25:51Testing gestures in Flutter
  8. 31:14Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.