x_pagintor 1.0.2 copy "x_pagintor: ^1.0.2" to clipboard
x_pagintor: ^1.0.2 copied to clipboard

A new Flutter package to handle pagintion requests

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

Usage #

Import the package:

import 'package:x_paginator/x_paginator.dart';

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),
    );
  },
),

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.

0
likes
145
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package to handle pagintion requests

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on x_pagintor