x_pagintor

Creator: coderz1093

Last updated:

0 purchases

x_pagintor Image
x_pagintor Images
Add to Cart

Description:

x pagintor

X Paginator #
A simple and flexible package for Flutter to implement pagination in your applications.
Installation #
Add x_paginator as a dependency in your pubspec.yaml file:
dependencies:
x_paginator: ^0.0.6
copied to clipboard
Usage #
Import the package:
import 'package:x_paginator/x_paginator.dart';
copied to clipboard
Use the XPaginator widget to display your data:
XPaginator(
fetchPage: (page) async {
// Fetch data for the given page.
// Return a list of items for this page.
},
itemBuilder: (item) {
// Build a widget to display the item.
return ListTile(
title: Text(item.title),
subtitle: Text(item.subtitle),
leading: Icon(Icons.star),
);
},
),
copied to clipboard
For more advanced usage, see the example directory.
Contributing #
Contributions are welcome! Please open an issue or pull request on GitHub.
License #
This project is licensed under the MIT License.

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.