Search packages, repositories and app categories

GitHub repositorysanket-vekariya/paginationList

paginationList

Flutter Pagination Library with loading indicator at bottom.

paginationList project cover
Stars
2
Forks
3
Last push (UTC)
Feb 6, 2020
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Sanket Vekariya GitHub avatar
GitHub author

Sanket Vekariya ↗

Google Associate Android Developer | Flutter | Fintech | UPI | AI | Crafted 79+ Mobile Apps | Laravel | Product Builder | Scrum | Rediff ining Apps

LanguagesDartKotlinSwiftJavaHTMLObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 1 items

  • flutter{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗