Skip to content
pubscout

drag_and_drop_lists

0.4.2, released 2 years ago by an unverified publisher

A flutter package to allow drag-and-drop reordering of two-level lists.

WASM-readyQuiet but busy
$ flutter pub add drag_and_drop_lists
Source repository

What it does

Allows drag-and-drop reordering of elements within and between multiple lists, as well as reordering the lists themselves. Supports both vertical and horizontal layouts, drag handles, expansion tiles, and slivers.

AI-written summary of version 0.4.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to implement two-level reorderable lists with drag-and-drop support.
  • You want to reorder items between multiple separate lists or reorder the lists themselves.

Skip it when

  • You only need a simple, single-level reorderable list that is already provided by Flutter's standard ReorderableListView.

Strengths

  • Supports reordering items between multiple lists and reordering lists themselves.
  • Supports both vertical and horizontal layouts, expansion tiles, and slivers.
  • Provides flexibility with drag handles, long presses, or short presses.

Weaknesses

  • Scope is limited strictly to two-level drag-and-drop lists.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
return DragAndDropLists(
  children: _contents,
  onItemReorder: _onItemReorder,
  onListReorder: _onListReorder,
);

Alternatives

Packages that do the same job and could replace drag_and_drop_lists.