easy_network_infinite_scroll_pagination_package

Creator: coderz1093

Last updated:

0 purchases

easy_network_infinite_scroll_pagination_package Image
easy_network_infinite_scroll_pagination_package Images

Languages

Categories

Add to Cart

Description:

easy network infinite scroll pagination package

An easy Flutter package that enables data pagination from a network source.
Features #
By utilizing your widget, you can easily call API data by incorporating the URL and query parameters.
Getting started #
add dio into the dependencies section in your pubspec.yaml:
easy_network_infinite_scroll_pagination:
copied to clipboard
Usage #
EasyNetworkInfiniteScrollPagination(
data: (d) {
print("data=====>>> ${d}");
},
url: "http://xxx/api/services",
child: (r) {
return Container(
margin: const EdgeInsets.all(8),
padding: const EdgeInsets.all(8),
color: Colors.green,
child: Text(r['id'].toString() + r['name']['ar'].toString()));
},
urlParameters: const {
"interested_category_ids": "[18]",
"perPage": "4",
},
numberOfPostsPerRequest: 4,
initialPageNumber: 1,
function: (Response r){
return r.data['data'];
},)
copied to clipboard

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.