pagination_scroll_view

Last updated:

0 purchases

pagination_scroll_view Image
pagination_scroll_view Images
Add to Cart

Description:

pagination scroll view

Pagination Scroll View #



Pagination Scroll View Widget for Flutter
Getting Started #
Add this to your pubspec.yaml:
dependencies:
pagination_scroll_view: ^1.1.2
copied to clipboard
Usage #
Basic usage of this widget is as below:
PaginationScrollView #
PaginationScrollView(
key: const Key("pagination_scroll_view"),
pageChanged: (page) {
setState(() {
_itemCount += 20;
});
},
threshold: 0.8,
scrollOptions: const ScrollOptions(
physics: BouncingScrollPhysics(),
),
child: Column(
mainAxisSize: MainAxisSize.max,
children: [
Container(
height: 200,
color: Colors.red,
child: const Center(
child: Text("Header"),
),
),
ListView.builder(
physics: const NeverScrollableScrollPhysics(),
shrinkWrap: true,
itemBuilder: (context, index) {
return ListTile(
title: Text("Item $index"),
);
},
itemCount: _itemCount,
),
],
),
);
copied to clipboard
Contribution #
We welcome contributions! Feel free to open issues or submit pull requests.
License #
This package is licensed under the Apache V2 License - see the LICENSE file for details.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.