material_load_scrollview 1.0.0 copy "material_load_scrollview: ^1.0.0" to clipboard
material_load_scrollview: ^1.0.0 copied to clipboard

discontinued
outdated

A widget that make the ScrollView to be push to load data,and click to refresh data,support custom footer,Theoretically compatible with all Scrollable Widgets.

material_load_scrollview #

A widget that make the ScrollView to be push to load data,and click to refresh data,support custom footer,Theoretically compatible with all Scrollable Widgets.

Screenshot

Getting Started #

In your pubspec.yaml:

dependencies:
   material_load_scrollview: ^0.0.1
import 'package:material_load_scrollview/material_load_scrollview.dart';
MaterialLoadScrollView(
          key: _key, //necessary for resetLoadStatus
          onRefresh: () {
          },
          onLoadMore: () {
          },
          child: ListView.builder(
            controller: ScrollController(),
            //necessary for scroll to top when onRefresh
            itemCount: _page * _itemCount,
            itemBuilder: (_, _i) => Container(
                  margin: EdgeInsets.only(bottom: 8.0),
                  color: Colors.white,
                  padding: EdgeInsets.all(8.0),
                  child: Text("$_i"),
                ),
          ),
        );

_key.currentState.reset();
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A widget that make the ScrollView to be push to load data,and click to refresh data,support custom footer,Theoretically compatible with all Scrollable Widgets.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on material_load_scrollview