pagination

Last updated:

0 purchases

pagination Image
pagination Images
Add to Cart

Description:

pagination

pagination #

A Pagination Library for Flutter (with Web Support).
How to Use #
just add below in pubspec.yaml
pagination: ^0.1.0
copied to clipboard
import 'package:pagination/pagination.dart';
copied to clipboard
Demo Code:
PaginationList<User>(
separatorWidget: Container(
height: 0.5,
color: Colors.black,
),
itemBuilder: (BuildContext context, User user) {
return ListTile(
title:
Text(user.prefix + " " + user.firstName + " " + user.lastName),
subtitle: Text(user.designation),
leading: IconButton(
icon: Icon(Icons.person_outline),
onPressed: () => null,
),
onTap: () => print(user.designation),
trailing: Icon(
Icons.call,
color: Colors.green,
),
);
},
pageFetch: pageFetch,
onError: (dynamic error) => Center(
child: Text('Something Went Wrong'),
),
...
onEmpty: Center(
child: Text('Empty List'),
),
),
copied to clipboard



For more info: #
Email: [email protected]

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.