flutter_loadmore 2.0.1

Flutter Android iOS web

Idiom for Pull-Down-Refresh & Pull-Up-Load-More for ListView

flutter-loadmore #

A widget that supports idiom of "Pull Down to Refresh & Pull Up to Load More" for ListView . Material never have this.

Getting Started #

add to pubspec.yaml

flutter_loadmore: ^2.0.1
import 'package:flutter_loadmore/flutter_loadmore.dart';

  // ...

  Widget build(BuildContext context) {
    return LoadMore(
      onLoadMore: _handleLoadMore,
      child: ListView.builder(
        itemCount: widget.provider.data.length,
        itemBuilder: (BuildContext context, int index) {
          final item = widget.provider.data[index];
          return ListTile(title: Text(item.name));
        },
      ),
    );
  }

Full example (fetch stock via HTTPS) in example folder.

1
likes
110
pub points
67%
popularity

Idiom for Pull-Down-Refresh & Pull-Up-Load-More for ListView

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ken.shao@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_loadmore