custom_loadmore

Creator: coderz1093

Last updated:

0 purchases

custom_loadmore Image
custom_loadmore Images

Languages

Categories

Add to Cart

Description:

custom loadmore

INTRODUCTION #
The custom_loadmore component is a convenient flutter widget that make implementation load more feature more easier, it provide a flexible and easy to use interface and can integrate with any Flutter project. This give developer focus more on another aspect when development feature also provide ability to control the layout and appearance of UI.
Features #

Load more feature
Layout modifies ability
Handing build in ui function.

Installation #
To use this in your project, you need follow these steps:

In your pubspec.yaml file add follow codes

dependencies:
custom_loadmore: ^1.0.0
copied to clipboard


Run flutter pub get.


Make sure import this file when use this package. import 'package:custom_loadmore/custom_loadmore.dart'


Usage #

Create a data provider implement ICustomLoadMoreDataProvider interface.

class LoadmoreDataProvider implements ICustomLoadMoreDataProvider<int> {
@override
Future<List<int>?> loadMore(int pageIndex, int pageSize) async {
/// Implement load more data logic
}
}

copied to clipboard

Provide LoadmoreDataProvider to CustomLoadMore widget.

Widget build(BuildContext context) {
return CustomLoadMore
A longer example can be found in the /example folder.

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.