pagination 0.1.0

Flutter Android iOS web

A Powerful Flutter Pagination Library with loading indicator at bottom.

pagination #

pub package
A Pagination Library for Flutter (with Web Support).

How to Use #

just add below in pubspec.yaml

pagination: ^0.1.0
import 'package:pagination/pagination.dart';

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'),
        ),
      ),


For more info: #

Email: ssvekariya11@gmail.com

5
likes
90
pub points
82%
popularity

A Powerful Flutter Pagination Library with loading indicator at bottom.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sanket.vekariya.sa@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on pagination