loadmore_listview
1.0.7, released 4 years ago by stevenhsiao.dev
A ListView with load more and pull‑to‑refresh support
What it does
Provides a ListView that automatically shows a load‑more widget when more data is available and supports pull‑to‑refresh. It offers builder, separated, and custom scroll view constructors.
AI-written summary of version 1.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need infinite scrolling with a simple load‑more button
- You want pull‑to‑refresh without writing boilerplate
- You prefer a single widget that handles pagination logic
Skip it when
- You require fine‑grained control over pagination logic
- You need advanced state management or custom animations
- You are building a highly customized list that needs more features
Strengths
- Easy to integrate with minimal code
- Supports CustomScrollView and separated lists
- Handles short lists and refresh edge cases
Weaknesses
- Limited customization of load‑more widget
- No built‑in state management or caching
- No support for complex data sources
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
LoadMoreListView.builder(
haveMoreItem: true,
onLoadMore: () async{ await Future.delayed(const Duration(seconds:1)); },
onRefresh: () async{ await Future.delayed(const Duration(seconds:1)); },
itemCount: 20,
itemBuilder: (context, index){ return Text('$index'); },
);Alternatives
Packages that do the same job and could replace loadmore_listview.
- easy_refresh
A Flutter widget providing pull-down refresh and pull-up load for all scrollable widgets.
80Compare - enhanced_paginated_view
A customizable Flutter widget for paginated lists, grids, and slivers with pull-to-refresh.
65Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare - animated_reorderable
Animated, draggable reorderable ListView/GridView with built‑in swipe‑to‑delete.
73Compare