Package selection guidance compiled from public package information, community data, and project usage.
EasyRefresh is a Flutter package that simplifies implementing pull-to-refresh and pull-to-load-more functionality in lists and scrollable widgets. It provides smooth, customizable refresh and load indicators with minimal setup, supporting all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package enhances user experience by offering responsive feedback during data loading and refreshing operations. It integrates seamlessly with ListView, GridView, and other scrollable components, making it ideal for dynamic content displays like feeds or chat interfaces.
Use cases
Implementing pull-down refresh in list views
Adding infinite scroll with pull-up loading
Creating responsive data feeds
Building chat or news app interfaces
Enhancing UX in scrollable content
Supporting offline-first apps with sync indicators
Key features
Pull-down refresh with custom indicators
Pull-up load more with configurable thresholds
Cross-platform compatibility
Customizable animation and styling
Built-in loading states and callbacks
Simple integration with ScrollViews
Suitable for
Developers building list-heavy apps
Teams prioritizing smooth UX
Projects requiring infinite scrolling
Apps with real-time data updates
Frontend developers seeking quick implementation
Considerations
May require additional state management
Customization options can increase complexity
Performance impact with large datasets if not optimized
Limited built-in support for complex nested scrolls
Depends on proper handling of async data sources
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
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.