pagination_view
Flutter package to simplify pagination of list of items from the internet.
- Stars
- 151
- Forks
- 27
- Last push (UTC)
- Jan 3, 2023
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
PaginationView

Installing
In your pubspec.yaml
dependencies:
pagination_view: ^2.0.0-nullsafety.0
import 'package:pagination_view/pagination_view.dart';
Basic Usage
PaginationView<User>(
preloadedItems: <User>[
User(faker.person.name(), faker.internet.email()),
User(faker.person.name(), faker.internet.email()),
],
itemBuilder: (BuildContext context, User user, int index) => ListTile(
title: Text(user.name),
subtitle: Text(user.email),
leading: IconButton(
icon: Icon(Icons.person),
onPressed: () => null,
),
),
header: Text('Header text'),
footer: Text('Footer text'),
paginationViewType: PaginationViewType.listView // optional
pageFetch: pageFetch,
onError: (dynamic error) => Center(
child: Text('Some error occured'),
),
onEmpty: Center(
child: Text('Sorry! This is empty'),
),
bottomLoader: Center( // optional
child: CircularProgressIndicator(),
),
initialLoader: Center( // optional
child: CircularProgressIndicator(),
),
),
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Saif Allah Khaled 💻 |
jezsung 💻 |
psredzinski 💻 |
Javier Torrus 💻 |
Jonjo McKay 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
LanguagesDartKotlinSwiftHTMLObjective-C
Categories
Dependencies used
Dependency list 7 items
- flutter
{"sdk":"flutter"} - bloc
^8.0.1 - flutter_bloc
^8.0.0 - flutter_testDevelopment
{"sdk":"flutter"} - flutter_lintsDevelopment
^1.0.4 - bloc_testDevelopment
^9.0.1 - mockitoDevelopment
^5.0.16
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- vedartm/pagination_view · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗