This is not possible! Everytime I am searching for something, The easy approach video popup. He probably has some mind hacking powers.. Btw I am first..
Thanks for good lesson, but i have a question. What i must do, if i wont load additiona data not in last listview element (when i scroll down in the end), instead i wont fetch another butch data if (indexData > count(passangerList) - 3) (i wont make some "cache"). Do we have some package, or i must mannualy tracking indexData, and make fetch with some kind of throttle/debounce implementation?
Every time i generate classes from json using that website, i get an error Map is not a sub type of Map.... something of the sort. I was thinking of posting on SO but i dont know whats going on... List is not a subtype of Map whats the issue? My code is exactly like yours
Never Mind... I realized this error is due to the API returning a JSON diff from that you constructed your model class from. in my case, my model was a class with String data types as direct children, however, I forgot something - headers - in my request so I got a JSON array of errors, hence the error message.
@vijay pareek Yah it means that the server is replying with a list and YOU have a class as your model. try that same endpoint in postman to confirm that. So the List from the server cannot be directly 'casted' into you model class... because the response.body() has a root list and you giving it to a class. A type mismatch, and thus the message
@@EasyApproach Hey! There is some werid error in the code, I mean, not sure the error is in the code, maybe the API is restricted for N requests. When you do 10-11 pulldowns, you get an error. Unhandled Exception: type 'List' is not a subtype of type 'Map' As i see online, that's an error that maybe happens due to no date returned. i've checked it, but i do get 200 code, and i do get data, not sure what's up.
Hi Maaz, can you do a video tutorial showing how to build a CRUD app using Flutter with Graphql/Hasura? How is state management handled in Flutter when graphql is used?
Hi sir this code is not working to me. It is not show any error but after i run the project it is not shown any data. Still loading........ Can you please give a solution to this issue?
You just missed the first 10 records coz it starts with ) and you've taken 1 as the current page. lol, ik non of this is related to pagination purpose... BTW great session.. thank you
Thanks for tutorial! Could you make the same only with retrofit + dio library and inside futurebuilder and show pagination in listview. Its going be more advanced)
hello, i tried your to implement your code in mine, there's a problem when i first load, it loads the first page. but if i scroll, it fetch the page 1 again, then page 2. any idea where do i wrong?
Same here. Endpoint has changed. The Airline element is now an array of objects, not a single object in passenger_data change airline: Airline.fromJson(json["airline"]), to airline: Airline.fromJson(json["airline"][0]),
Thanks you! as an non english speaker i really appreciate that your pronunciation is easy to understand and also you explains things the easy way ;)
Always u are the best teracher
All praise to God :)
Thanks friend, this video is perfect continuation of the autocomplete
Wow! So clear bro💗
Thanks
This is not possible! Everytime I am searching for something, The easy approach video popup.
He probably has some mind hacking powers..
Btw I am first..
Haha
Thankyousomuch for this video, helped alot, also for the package!
Nice Explanation...it's very useful to me...I am expecting those kind of explanation...thank u lot....❤️
Great video maaz bhai ❤️
You are amazing man. Thank you.
Thanks please subscribe the chanep
Hello sir, You are storing list as variable. What about storing thousand of list. Would it affect to performance?
Amazing,. Thanks , can yo make tutorial searching with multiple query on field in this same project tutorial infinity list?
Will try
Thanks for good lesson, but i have a question. What i must do, if i wont load additiona data not in last listview element (when i scroll down in the end), instead i wont fetch another butch data if (indexData > count(passangerList) - 3) (i wont make some "cache"). Do we have some package, or i must mannualy tracking indexData, and make fetch with some kind of throttle/debounce implementation?
I think i fund solution, if it need, can create merge request
Best for learning pagination
Great video, but I have one question. Is it possible to click on single post data on this page, and to take me on the other page with details?
Here, take my heart ♥️
Give your subscribe
Every time i generate classes from json using that website, i get an error Map is not a sub type of Map.... something of the sort. I was thinking of posting on SO but i dont know whats going on...
List is not a subtype of Map
whats the issue? My code is exactly like yours
Never Mind... I realized this error is due to the API returning a JSON diff from that you constructed your model class from. in my case, my model was a class with String data types as direct children, however, I forgot something - headers - in my request so I got a JSON array of errors, hence the error message.
@vijay pareek Yah it means that the server is replying with a list and YOU have a class as your model. try that same endpoint in postman to confirm that. So the List from the server cannot be directly 'casted' into you model class... because the response.body() has a root list and you giving it to a class. A type mismatch, and thus the message
Amazing, thanks!
Thank you too!
@@EasyApproach Hey!
There is some werid error in the code, I mean, not sure the error is in the code, maybe the API is restricted for N requests.
When you do 10-11 pulldowns, you get an error.
Unhandled Exception: type 'List' is not a subtype of type 'Map'
As i see online, that's an error that maybe happens due to no date returned.
i've checked it, but i do get 200 code, and i do get data, not sure what's up.
@@EasyApproach apperantly the list cant take more than 90 elements inside of it..? i set the size = 50, and it cant handle 2 requests..
@@slavabugz2612 try to print the response on console so that you can see what’s going on. It looks the issue in parsing
@@EasyApproach Never mind... its an mapping problem apperantly.. some pages give broken results werdly enough
Hi Maaz, can you do a video tutorial showing how to build a CRUD app using Flutter with Graphql/Hasura?
How is state management handled in Flutter when graphql is used?
Sure
Hi sir this code is not working to me. It is not show any error but after i run the project it is not shown any data. Still loading........ Can you please give a solution to this issue?
work like a charm, tks
You just missed the first 10 records coz it starts with ) and you've taken 1 as the current page. lol, ik non of this is related to pagination purpose... BTW great session.. thank you
Thanks for tutorial! Could you make the same only with retrofit + dio library and inside futurebuilder and show pagination in listview. Its going be more advanced)
Sure
@@EasyApproach Thanks bro
Is there any way so that after loading the new data the scroll goes to the beginning of the list again?
Nice video sir...please make blogspot Google api pagination video
I will try my best
hello, i tried your to implement your code in mine, there's a problem when i first load, it loads the first page. but if i scroll, it fetch the page 1 again, then page 2. any idea where do i wrong?
the api url isn't working for me... i can't even access the content by google chrome
Sir, Please make a Video on How to localize (pdf text change to user selected language text) Pdf document in flutter???
❤️ From Pakistan 😇
I created a camera app in flutter i was creating filter using AI. Is there any package for filters. If not make a tutorial on it brother.
Sure will look inn to it!
@@EasyApproach thanks brother ❤
after load last page Is showing bottom load failed
Yup that will be the issue you have to solve :p
@@EasyApproach how?
Instead of returning true or false from the future we can return the status of refresh controller and based on it we can take decisions!
@@EasyApproach in my api return false .
@@EasyApproach could you elaborate more?
bro her is error am geting
TypeError (type 'List' is not a subtype of type 'Map')
Same here. Endpoint has changed. The Airline element is now an array of objects, not a single object
in passenger_data change airline: Airline.fromJson(json["airline"]), to airline: Airline.fromJson(json["airline"][0]),
@@brainwashing1 thank you.. It was helpful.
you must have add video keys, it helps to find the tasks easily
can this be used with PageView builder?
bro can u make a video on unit testing getx
😙
Can you please share your mac details 😘
Bro make a instagram profile page clone
anyone no whe to get free Api