Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knopp/flutter_reorderable_list
ReorderableList for Flutter
https://github.com/knopp/flutter_reorderable_list
dart flutter listview reorderable
Last synced: 4 days ago
JSON representation
ReorderableList for Flutter
- Host: GitHub
- URL: https://github.com/knopp/flutter_reorderable_list
- Owner: knopp
- License: bsd-3-clause
- Created: 2018-04-22T19:05:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T18:11:34.000Z (about 1 year ago)
- Last Synced: 2024-12-20T23:07:27.974Z (11 days ago)
- Topics: dart, flutter, listview, reorderable
- Language: Dart
- Size: 212 KB
- Stars: 336
- Watchers: 16
- Forks: 98
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Reorderable List in Flutter
iOS-like proof of concept reorderable list with animations
## Preview
## Getting Started
See `example/lib/main.dart` for example usage
## Highlights
Unlike flutter's `ReorderableListView` this one
* Works with slivers so it can be placed in `CustomScrollView` and used with `SliverAppBar`
* Supports large lists (thousands of items) without any issuesOther features
* Smooth reordering animations
* Supports different item heights
* iOS like reordering with drag handle
* Android like (long touch) reordering## Caveats
There are no API stability guarantees.
If you used previous version of reorderable list keep in mind that `ReorderableListener` now needs to be placed somewhere in `ReorderableItem` hierarchy in order to detect touch and trigger actual reordering (see the example).
Alternatively, you can wrap entire row in `DelayedReorderableListener` to get material like long-press reordering behavior.