Skip to content
Blog
Tag

“gestures”

Implementing Touch-Friendly Drag-and-Drop with LongPressDraggable in Flutter

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.

November 9, 2026 AI Assistant
Pinch-to-Zoom Images in Flutter with photo_view

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.

November 5, 2026 AI Assistant
Swipe to Delete: Mastering Dismissible in Flutter

Swipe to Delete: Mastering Dismissible in Flutter

Build production-ready swipe-to-dismiss lists with Dismissible, covering keys, confirmDismiss vetoes, and correct list mutation.

November 2, 2026 AI Assistant
Drag to Reorder: ReorderableListView Patterns in Flutter

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.

November 2, 2026 AI Assistant
GestureDetector in Flutter: Recognizers, Hit Testing, and Touch Input

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.

October 16, 2026 AI Assistant
Pan and Zoom in Flutter: Building Pinch-to-Zoom with InteractiveViewer

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.

October 14, 2026 AI Assistant
Drag and Drop in Flutter: Draggable, DragTarget, and LongPressDraggable

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.

October 14, 2026 AI Assistant