How to implement pagination & lazy loading in Flutter | Flutter Pagination & Lazy Tutorial in Hindi

preview_player
Показать описание
In this lecture i will teach you how to implement pagination or lazy loading in Flutter using provider state management with REST API's

______________/Connect On Social Media\_____________
=========================================

Free Flutter Bootcamp

for business query write me at:

00:00 Demo & Introduction
01:45 Study API in Postman
04:00 Post Model
05:00 Post Repository and Pub Packages
10:00 Post Provider | Pagination | Scroll Notification
17:00 Pagination Logic

#dart #flutter #pagination #lazyloading #asiftaj
Рекомендации по теме
Комментарии
Автор

Try to understand the logic and purpose of code, you can find the code everywhere always.
Source code:

thetechbrotherss
Автор

Finally jis video k wait tha ...Thank you soo much ❤💥

MuradAli-sigw
Автор

Sir thank you soo soo much mujy isi vedio ka intezar tha and meh ny kaafi vedios dekhin pagination ki pr un sy nhi samaj aya and mujy laga pagination bth mushkil hai but jab ap ki vedio dekhi to i am shocked that pagination itna easy hai sir you are great once again thank you soo soo much❤❤❤❤

mzulqarnain
Автор

Assalam alaikum bhai Aapne Pagination pr video bna kr ye Sabit kr diye ki Aap Nek dil ho logo ki Paresani Samjhte h Aap Jazakallah hu khair

faiyazahmad
Автор

When you use window size approach in pagination when we evict out side of window data offset of current item change and it's hard to find offset of current item and jump to it when box size is dynamic how to manage it with out assigning global key for all item and calculate render box height because it's expensive

shankarpoudel
Автор

What if first page data don't take whole screen and we have more data then circular progress indicator is always visibile.This is the issue in this logic.

harisbashir
Автор

Sir, l am leaving Flutter after struggling one year.

Amjad_Sajjad
Автор

I have solution for bug " continuous loading indicator ". 👇🏻👇🏻
In your code inside if(new posts.isEmpty ) {has more=false; }

Make change like below 👇🏻{
if(newposts.isEmpty || newposts.lenght ==0) {
has more=false; }
Perform your logic of paging with results you get ..
if(newposts.lenght < limit && newposts.lenght >0 ) {
hasmore=false;
}

}

Note : here " limit " means no of posts you want in each api request .
❤❤

pratikdhumal
join shbcf.ru