An implementation of drag and drop for lists
Switch branches/tags
Clone or download
Norbert515 Merge pull request #24 from zsirfs/master
add the dynamic data type
Latest commit f35caae Dec 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Initial commit Mar 25, 2018
example bumped version Aug 31, 2018
ios Initial commit Mar 25, 2018
lib add the dynamic data type Nov 6, 2018
test fixed update widget, renamed a bit Apr 26, 2018
.gitignore Initial commit Mar 25, 2018
.metadata Initial commit Mar 25, 2018
LICENSE Create LICENSE Apr 26, 2018
README.md Update README.md Aug 24, 2018
android.iml Initial commit Mar 25, 2018
flutter_list_drag_and_drop.iml fixed a bug May 1, 2018
flutter_list_drag_and_drop_android.iml Initial commit Mar 25, 2018
pubspec.lock bumped version Aug 31, 2018
pubspec.yaml bumped version Aug 31, 2018

README.md

flutter_list_drag_and_drop

The Flutter team has also pushed this feature to the framework, https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/reorderable_list.dart

A new Flutter package which handles all aspects of drag and drop inside a listView.

In your pubspec.yaml

dependencies:
  flutter_list_drag_and_drop: "^0.1.3"

Demo

Demo 1

Features

  • When dragging an item to the top/ bottom the list scroll accordingly
  • Works with different sized items
  • material like behaviour

Take a look at the example folder for info on how to use

If you encounter feel free to open an issue. Pull request are also welcome.