Skip to content
pubscout

paginable

2.0.0, released 5 years ago by an unverified publisher

A Flutter package providing pagination features on top of native list and scroll widgets.

WASM-ready
$ flutter pub add paginable
Source repository

What it does

It wraps native scrollable widgets like ListView and CustomScrollView to trigger an async loadMore function when scrolling near the end. It also handles displaying progress indicator widgets and error indicator widgets with retry functionality.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need simple scroll-based pagination for ListView or CustomScrollView.
  • You want to easily attach loadMore callbacks, progress indicators, and error widgets with retry logic to lists.

Skip it when

  • You expect the package to automatically manage your data state or pagination logic.
  • You need non-list scrollable pagination architectures not supported by the package.

Strengths

  • Provides drop-in paginable versions of standard Flutter widgets like ListView and CustomScrollView.
  • Built-in error handling with try-again callbacks and progress indicators.

Weaknesses

  • Does not handle state management; you must wire up your own state and data fetching logic.
  • Limited to the specific widgets and builders provided by the library.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
PaginableListView.builder(
  loadMore: () async {},
  errorIndicatorWidget: (exception, tryAgain) => Text(exception.toString()),
  progressIndicatorWidget: const CircularProgressIndicator(),
  itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
  itemCount: 20,
)

Alternatives

Packages that do the same job and could replace paginable.

Works with

Packages commonly used together with paginable: ones it builds on, ones built on it, and its own family.