pdrpulm 1.0.1 copy "pdrpulm: ^1.0.1" to clipboard
pdrpulm: ^1.0.1 copied to clipboard

discontinued
outdatedDart 1 only

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

pdrpulm (Pull Down to Refresh & Pull Up to Load More) #

A widget that supports "Pull Down to Refresh & Pull Up to Load More" idiom. Google Material never have "Pull Up to Load More" so implement as a package.

Getting Started #

Widget build(BuildContext context) {
    return new ScrollIndicator(
        onLoadMore: onLoadMore,
        child: new ListView.builder(
            itemCount: itemCount,
            itemBuilder: (BuildContext context, int index) {
              return new Container(
                height: 150.0,
                decoration: new BoxDecoration(border: new Border.all()),
                child: new Indicator(index.toString()),
              );
            }));
  }

Roadmap #

add custom indicator when refresh or loading more

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

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

Repository
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pdrpulm