Skip to content

LoadMoreSliver can LoadMore data from net for CustomScrollView.flutter上拉加载更多

Notifications You must be signed in to change notification settings

limxing/LoadMoreSliver

Repository files navigation

load_more_sliver

Flutter widget for CustomScrollView. LoadMore data from net ,just like CupertinoSliverRefreshControl.
用于 CustomScrollView 的上拉加载更多的sliver组件

Getting Started

Copy File

Copy lib/LoadMoreSliver.dart to your project.

Set

  CustomScrollView(
    physics: const BouncingScrollPhysics(),
    slivers: [
     ...
      LoadMoreSliver(
        onLoad: () {
         
        },
      )
    ],
  )

可选参数

final WidgetBuilder? normalBuilder;
final WidgetBuilder? loadingBuilder;
final WidgetBuilder? noneBuilder;
final WidgetBuilder? errorBuilder;

License

LoadMoreSliver is available under the MIT license.

About

LoadMoreSliver can LoadMore data from net for CustomScrollView.flutter上拉加载更多

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published