load_more_ebznz

Last updated:

0 purchases

load_more_ebznz Image
load_more_ebznz Images
Add to Cart

Description:

load more ebznz

load more desc
Features #
Supported :

English .
Arabic .
Chinese .

Getting started #
load more Get start
Usage #
load more usage
LoadMoreEbznz(
isFinish: _post.length <= count,
onLoadMore:getData ,
whenEmptyLoad: false,
delegate: const DefaultLoadMoreDelegate(),
textBuilder:System.lang == 'en'? TextBuilderEbznz.english: TextBuilderEbznz.arabic,
child: ListView(...),
)
copied to clipboard
Future<bool> getData() async {
bool checkload = true;
print("onLoadMore");
await Future.delayed(Duration(seconds: 0, milliseconds: 2000));
setState((){
count != _post.length?
{
checkload = true ,
count = count + 10 ,
count >= _post.length?
{count = _post.length , checkload = true ,}:
checkload = true ,}:
checkload = false;
});

return checkload;
}
copied to clipboard
Additional information #
load more Additional information

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.