Thanks to visit codestin.com
Credit goes to github.com

Skip to content

phuongphally/easy_loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy_loading

Install

dependencies:
  `easy_loading: ^latest`

Usage

ListView

EasyLoadingListView(
  loadMore: () async {
    await _loadNext();
  },
  hasMore: () => _hasNextPage,
  itemCount: () => items.length,
  itemBuilder: (context, index) {
    return _itemBuilder(items[index]);
  },
)

GridView

EasyLoadingGridView(
  loadMore: () async {
    await _loadNext();
  },
  hasMore: () => _hasNextPage,
  itemCount: () => items.length,
  itemBuilder: (context, index) {
    return _itemBuilder(items[index]);
  },
)

SliverGrid

EasyLoadingSliverGrid(
  loadMore: () async {
    await _loadNext();
  },
  hasMore: () => _hasNextPage,
  itemCount: () => items.length,
  itemBuilder: (context, index) {
    return _itemBuilder(items[index]);
  },
)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages