HTTP Get request in Flutter App | Fetch Records from MySQL with PHP API | Future Builder in Flutter

preview_player
Показать описание
Making Http Get request from Flutter App | Fetch Records from MySQL and Display on app with PHP API
Рекомендации по теме
Комментарии
Автор

Thanks so much for your Flutter tutorials with MySQL. They are very helpful for me and I will be looking forward to more, especially those with MySQL CRUD functions. Thanks again.

gilmcglory
Автор

Very nice video please continue to make such videos which will help lot to all new learners, if possible explain the functionality of each and every command used in this videos which will a great help to all php developers who want to learn flutter.

ArjunYadav-npfh
Автор

Thanks, very useful video tutorial so, now we can read and write data in MySQL with the help of API. But my question is how I can hold this data on the local device when the server is down or offline I mean the already retrieved from the database.

bashircodes
Автор

Great tutorial. learned a lot... thanks

muneerAbro
Автор

good. waiting next tutorial crud.. i hope.

fariszain
Автор

I'm working with woocommerce using flutter(Mobile application) and connected my app via woocommerce API.
Problems faced by me is listed below:

1. While opening the application sometimes the application shows all the products and sometimes it gets loads for more times.

2. While selecting some category(example: electronics) it keeps on loading and loading and doesn't display the items. when we close and restart the application it shows products properly.

How to resolve this issue and please guide and help me to resolve this issue.

jexnic_
Автор

One of the best tutorials any one send me more videos like this plz ?

pardeepverma
Автор

Nice tutorial👍🏻, ...but one thing Im not certain... So this app need two server right? One for database(etc: mariaDB) and another one is webserver for the php code that acts as a bridge right? Sorry I'm very very new to development.

imranfauzi
Автор

Hi, thank you for sharing this video. My problem is that in my product.dart file I have these two lines {{Products productsFromJson (String str) => Products.fromMap (json.decode (str));
String productsToJson (Products data) => json.encode (data.toMap ());}} instead of what is in the video so I have an error. Can you help me with your bit of code because in the video I don't see the end of the two lines. Thank you for answering me

cheickkanazoe
Автор

how to make the api can be accessed everyone

?

gubukbonsai
Автор

Thank you very much! Excellent work. This is exactly what I was looking for!

otenyop
Автор

Madam, If I have physical device, instead of emulator, since you are using localhost for hosting api, will this work on physical device also, if my device is connected with mobile data on phone and mobile hotspot on laptop. (Same Network)?
I know the host will change, but will it work or I have to only use emulator

shishirkumarsky
Автор

yes it is good can be used in real life but source may please be given which reduces unwanted coding mistakes

lubalsd
Автор

May I ask how did you create the data @ 2:34, and what did you use on that?

notyouridealguy
Автор

Why do you still need an API when you are already retrieving from sql databases directly

hhajajahqh
Автор

This is amazing. But I have a problem. I have multiple data in json. How can I show that in check box. A user can select one by one. If he select, the checkbox value is store. If he uncheck, the value remove. And then he can submit it. All select value are store in a list.

bdtender
Автор

All India need two things 1 micropppphone 🎤
2 learn any dialecttt because this letter is W not V

Syria..
Автор

Thanks for your tutorials to fetch data from mySQL into flutter app. However, I found an error while creating loop with data fetched.
itemCount: snapshot.data?.length,
Error is with length which could be null in run time. Hence, I had to add ? after data.
Member member = snapshot.data[index];
Error was with [index]

Can you please let me know what is cause of error. Thanks

sushilpugalia
Автор

in my code there is no error i followed every step as shown, ,but it does not showing my data in my application
what is the problem ?any idea ?

tamalghsh
Автор

how can i post an array from flutter to server and insert it into mysql, i couldnt find any guide in the internet PLEASE HELP!

jamlookstech