“gestures”
Implementing Touch-Friendly Drag-and-Drop with LongPressDraggable in Flutter
Master LongPressDraggable in Flutter to build touch-friendly drag-and-drop user interfaces without triggering unintended scroll operations on mobile devices.
Pinch-to-Zoom Images in Flutter with photo_view
photo_view 0.15.0 ships PhotoView, PhotoViewGallery, computed scales, hero tags and controllers — and knows when InteractiveViewer is enough.
Swipe to Delete: Mastering Dismissible in Flutter
Build production-ready swipe-to-dismiss lists with Dismissible, covering keys, confirmDismiss vetoes, and correct list mutation.
Drag to Reorder: ReorderableListView Patterns in Flutter
ReorderableListView end to end: the onReorder off-by-one fix, drag handles and drag lifecycle callbacks, proxyDecorator feedback, key rules, Dismissible conflicts, and persisting order.
GestureDetector in Flutter: Recognizers, Hit Testing, and Touch Input
How raw pointer events become gestures, how the GestureArena picks a winner, and how behavior, semantics, and InkWell change what your taps actually do.
Pan and Zoom in Flutter: Building Pinch-to-Zoom with InteractiveViewer
Maps, canvases, image galleries, and whiteboards all need the same gesture pair. InteractiveViewer gives you pan and zoom for free — but boundaries, constraints, and programmatic control are where it gets interesting.
Drag and Drop in Flutter: Draggable, DragTarget, and LongPressDraggable
Drag-and-drop looks simple until a drag fights a scroll view or the feedback widget vanishes. Here is how Draggable and DragTarget actually work, and the parameters that decide how a drag behaves.