pagination 0.1.0 copy "pagination: ^0.1.0" to clipboard
pagination: ^0.1.0 copied to clipboard

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

28
likes
40
pub points
59%
popularity

Publisher

unverified uploader

A Powerful Flutter Pagination Library with loading indicator at bottom.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pagination