easy_loading 0.0.4

Flutter Android iOS web

Flutter plugin for loading more listview and grid view.

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

0
likes
90
pub points
28%
popularity

Flutter plugin for loading more listview and grid view.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

phuongphally@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, rxdart

More

Packages that depend on easy_loading