load_more_wrapper 1.0.0 copy "load_more_wrapper: ^1.0.0" to clipboard
load_more_wrapper: ^1.0.0 copied to clipboard

A stateless and reusable Flutter widget to add load-more functionality to scrollable widgets.

📦 LoadMoreWrapper #

A lightweight and reusable Flutter widget to easily implement "load more" functionality with any scrollable widget such as ListView or GridView.


🚀 Features #

  • 📦 Works with ListView, GridView, or any scrollable widget
  • 🔄 Automatically detects when user scrolls near the bottom
  • ⚙️ Stateless — easy to plug into any widget tree
  • 🌀 Optional built-in loading animation
  • ✨ Support for custom footer widgets like "No more items"

🛠️ Usage #

LoadMoreWrapper(
  child: ListView.builder(...),
  isLoading: isLoading,
  hasMore: hasMore,
  onLoadMore: loadMoreItems,
  showDefaultLoading: true,
  footerBuilder: Text("No more items"),
)

📁 Structure #

load_more_wrapper/
├── lib/
│   └── load_more_wrapper.dart
├── example/
│   └── main.dart
├── pubspec.yaml
├── README.md
└── LICENSE

📄 License #

This project is licensed under the MIT License.

1
likes
0
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

A stateless and reusable Flutter widget to add load-more functionality to scrollable widgets.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on load_more_wrapper