Aus öffentlichen Paketdaten erstellte Orientierung.
Ein Flutter-Paket, das die Standard-ReorderableListView mit glatten, animierten Übergängen beim Umordnen von Elementen verbessert. Entwickelt für Einfachheit und Leistung, bietet es eine flüssige Benutzererfahrung ohne komplexes benutzerdefiniertes Logik. Ideal für Listen, in denen Benutzer häufig Elemente neu anordnen, wie z. B. Aufgabenmanager oder anpassbare Dashboards. Das Paket unterstützt alle Hauptplattformen und lässt sich nahtlos in bestehende Flutter-Projekte integrieren.
Anwendungsfälle
Aufgabenverwaltungs-Apps
Anpassbare Dashboard-Layouts
Drag-and-Drop-Artikelneuordnung
Benutzereinstellungssortierung
Interaktive Listen-Schnittstellen
Hauptmerkmale
Glatte animierte Übergänge
Einfache API-Integration
Plattformübergreifende Unterstützung
Optimierte Leistung
Eingebaute Ziehfeedback
Einfache Anpassung
Geeignet für
Entwickler, die intuitive Listen-Umordnung suchen
Projekte mit responsive UI-Interaktionen
Apps mit dynamischer Inhaltssortierung
Teams, die Entwicklungsbeschleunigung priorisieren
Flutter-Anfänger erkunden erweiterte Widgets
Hinweise
Kann die Leistung bei sehr großen Listen beeinträchtigen
Beschränkt auf vertikalen Listen-Layout
Erfordert sorgfältige Behandlung von Elementschlüsseln
Nicht geeignet für horizontales Umordnen
Am besten mit stabilen Elementbezeichnern verwenden
Mögliche Konflikte mit anderen Gesten-Erkennern
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
animated_reorderable_list
This library is a powerful and easy-to-use solution for implementing animated list and grid with
drag-and-drop functionality in Flutter.
Features
[x] Smooth transition during item insertion and removal from the list with animations.
[x] Drag and Drop support (ReorderableList) for both ListView and GridView with Animation.
[x] It can be both animated and reordered at the same time
[x] Animating items is as simple as updating the list.
[x] Pre-built animation like fade,scale, slide, flip etc for Flutter list.
[x] Provides support for both lists and grids
[x] Supports large lists and creates items on demand as they come into the viewport.
If not specified, then default FadeIn() animation will be applied.
Delay, duration, curve
Animation have optional delay, duration, begin, end and curve parameters. Animations run
in parallel, but you can use a delay to run them sequentially:
If a specific duration is provided for the animation, it will run for that specified duration.
However, if insertDuration or removeDuration are specified, it will override specific item
duration.
You can use custom insertItemBuilder or removeItemBuilder if you wish to implement your own
customized animations instead of relying on the built-in animations provided by the library.
In these custom builder functions, the child parameter represents the widget returned by the
itemBuilder callback, and the animation parameter provides the animation control.
If a custom insertItemBuilder is provided, it will override the enterTransition. Similarly, if
removeItemBuilder is provided, then it will override exitTransition.
Animations
The library provides a set of pre-built animations that can be used for item insertion and removal.
You can use multiple animations at the same time by providing a list of animations.
The following animations are available:
Animation Type
ListView Example
GridView Example
FadeIn
FlipInY
FlipInX
Landing
ScaleIn
ScaleInTop
ScaleInBottom
ScaleInLeft
ScaleInRight
Size
SlideInLeft
SlideInRight
SlideInDown
SlideInUp
Bugs and Feedback
We welcome and appreciate any suggestions you may have for improvement.
For bugs, questions, and discussions please use
the Github Issues.
Acknowledgments
This library builds upon the foundation laid by the incredible work of the Flutter team.
The core logic for animated list and drag-and-drop functionality are derived from Flutter's native
widgets, specifically AnimatedList and ReorderableListView.
Contribution
The Canopas team enthusiastically welcomes contributions and project participation! There are a
bunch of things you can do if you want to contribute! The Contributor Guide has
all the information you need for everything from reporting bugs to contributing entire new features.
Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't
clear.
Credits
animated_reorderable_list is owned and maintained by the Canopas team.
You can follow them on Twitter at @canopassoftware for
project updates and releases.