Open amangautam1 opened 5 years ago
Hi, I used myself code for do this.
I show thats the end, on loadmore function adding an element to widget's list that says "The END";
return Container( height: MediaQuery.of(context).copyWith().size.height, child: Column( children: <Widget>[ Expanded( child: LazyLoadScrollView( onEndOfPage: _loadMais, isLoading: isLoading, scrollOffset: 5, child: ListView( children: tela), ), ), Container( child: (isLoading && !fim) ? Padding(padding: EdgeInsets.all(20), child: new CircularProgressIndicator()) : new Row() ) ], ), );
And on build layout I add on logic to show Loading indicator.
you can try this @excogitatr/pagination_view Github pagination_view Pub
There should be some indicator to show that more items are loading or list has been finished.