Aus öffentlichen Paketdaten erstellte Orientierung.
EasyRefresh ist ein Flutter-Paket, das die Implementierung von Pull-to-Refresh- und Pull-to-Load-More-Funktionen in Listen und scrollbaren Widgets vereinfacht. Es bietet reibungslose, anpassbare Refresh- und Ladeindikatoren mit minimalem Setup und unterstützt alle gängigen Plattformen wie Android, iOS, Web, macOS, Windows und Linux. Das Paket verbessert die Benutzererfahrung durch responsive Rückmeldungen während Datenlade- und Aktualisierungsoperationen. Es integriert sich nahtlos in ListView, GridView und andere scrollbare Komponenten und ist daher ideal für dynamische Inhaltsanzeigefunktionen wie Feeds oder Chat-Schnittstellen.
Anwendungsfälle
Pull-down-Refresh in Listenansichten implementieren
Unbegrenztes Scrollen mit Pull-up-Laden hinzufügen
Reaktive Datenfeeds erstellen
Chat- oder Nachrichten-App-Oberflächen erstellen
Verbesserung der Benutzererfahrung bei scrollbarem Inhalt
Unterstützung von Offline-zuerst-Anwendungen mit Synchronisationsindikatoren
Hauptmerkmale
Pull-down-Aktualisierung mit benutzerdefinierten Indikatoren
Laden mehr mit konfigurierbaren Schwellenwerten durch Hochziehen
Plattformübergreifende Kompatibilität
Anpassbare Animation und Stilisierung
Eingebaute Ladezustände und Callbacks
Einfache Integration mit ScrollViews
Geeignet für
Entwickler, die listenintensive Apps erstellen
Teams, die reibungslose Benutzererfahrung priorisieren
Projekte, die unendliches Scrollen erfordern
Apps mit Echtzeit-Datenaktualisierungen
Frontend-Entwickler, die eine schnelle Implementierung suchen
Hinweise
Kann zusätzliche Zustandsverwaltung erfordern
Anpassungsoptionen können die Komplexität erhöhen
Leistungseinbußen bei großen Datensätzen, wenn nicht optimiert
Eingeschränkter integrierter Support für komplexe verschachtelte Scrollvorgänge
Hängt von der ordnungsgemäßen Behandlung asynchroner Datenquellen ab
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
Just like the name, EasyRefresh can easily implement pull-down refresh and pull-up load on Flutter applications. It supports almost all Flutter Scrollable widgets. Its function is very similar to Android's SmartRefreshLayout, and it also absorbs the advantages of many third-party libraries. EasyRefresh integrates various styles of Header and Footer, but it has no limitations, you can easily customize it. Using Flutter's powerful animations, even just a simple control can be done. The goal of EasyRefresh is to create a powerful, stable and mature pull-to-refresh framework for Flutter.
In the child scope, all scrolling components will share one physics. If there is scroll nesting, use EasyRefresh.builder or set the scope with ScrollConfiguration
One's maintenance is lonely. If you have good suggestions and changes, feel free to contribute your code. If you have really cool styles, It's even cooler to share with everyone.
Thanks to all the people who already contributed!
QQ Group - 554981921
Into the group of instructions
The group is not only solve the problem of EasyRefresh, any Flutter related issues can be discussed. Just as its name, craigslist, as long as there is time, group of Lord will help you solve problems together.
MIT LicenseCopyright (c) 2018 xuelongqy
Permissionis hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Softwareis
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.