loadmore
2.1.0, released 4 years ago by kikt.top
A Flutter library for ListView and SliverList that adds scroll-to-bottom loading functionality.
What it does
It wraps a ListView or SliverList to detect when the user scrolls to the bottom and triggers a load more callback. It supports pagination state handling like loading, success, fail, and finish.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need infinite scrolling or pagination for a ListView or SliverList.
- You want a simple widget wrapper to handle loading more items as the user scrolls.
Skip it when
- You are using widgets other than ListView or SliverList.
- Not documented for non-list scrollable views.
Strengths
- Supports both ListView and SliverList.
- Customizable delegate and text builder for loading states.
- Handles null safety.
Weaknesses
- Only supports ListView and SliverList, other widgets are not supported.
- Limited documentation outside of the basic README.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
LoadMore(
isFinish: count >= 60,
onLoadMore: _loadMore,
child: ListView.builder(
itemBuilder: (BuildContext context, int index) {
return Container(
child: Text(list[index].toString()),
height: 40.0,
alignment: Alignment.center,
);
},
itemCount: count,
),
)Alternatives
Packages that do the same job and could replace loadmore.
- paging_view
Flutter widgets for infinite‑scroll, paginated lists, grids and slivers with data‑source control.
71Compare - easy_load_more
A widget that adds load‑more functionality to ListView or SliverList.
46Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - infinite_grouped_list
Dynamic scrolling list that efficiently groups items and loads more data as the user scrolls.
79Compare