How to read local json file in flutter & show json data in listview builder

  Рет қаралды 46,874

Proto Coders Point

Proto Coders Point

Күн бұрын

Пікірлер: 80
@mohammedahmed-wj8by
@mohammedahmed-wj8by 2 жыл бұрын
This is the best free software Ive seen. Respect.
@paraboliczq
@paraboliczq 3 жыл бұрын
Hi, good explanation and nice video. If I can leave a quick tip, you should pay attention to naming conventions in functions and file names, for example ReadJsonData() should be start lower case, and file name should product_data_model. This can encourage new flutter developers to follow good coding principles. Thanks!!
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Yes you are right, Thanks for the Tip I will work on it and improve myself to teach beginner in better and clean way..
@yerraguntavijayachandrared7769
@yerraguntavijayachandrared7769 3 жыл бұрын
@@ProtoCodersPoint where is services.dart file??
@nandarafi4294
@nandarafi4294 9 ай бұрын
thanks, you are my savior, you give the source code too, god bless you man
@ProtoCodersPoint
@ProtoCodersPoint 9 ай бұрын
You're welcome! I'm here to help with any questions you have. If you need assistance with code or have specific questions, feel free to ask!
@learningcurious5845
@learningcurious5845 2 жыл бұрын
well explained and worked fine with my json file thank you so much for this video. hope to see more videos like this from you.
@NuwanThisara
@NuwanThisara 3 жыл бұрын
This helped me to understand the concept. thank you
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Welcome 🤗
@vvnavra
@vvnavra 2 жыл бұрын
The tutorial I needed
@thushankalana4940
@thushankalana4940 4 ай бұрын
Great Lesson.❤🙂 you are save me. This lesson was helpfull for my project.❤❤❤ Thank you so much Sir❤️❤️❤️
@ProtoCodersPoint
@ProtoCodersPoint 4 ай бұрын
It's my pleasure
@Amankumar_Raone
@Amankumar_Raone Жыл бұрын
great video nyc explaination
@ProtoCodersPoint
@ProtoCodersPoint Жыл бұрын
Thanks and welcome 😍
@mahimeena6427
@mahimeena6427 3 жыл бұрын
Good Explanation Man !! Doubts got cleared .
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Thanks 😊, always happy to help
@faang29488
@faang29488 2 жыл бұрын
thanks man, you helped me a lot. i don't even know, where are you living, but, man, god bless you
@sachinmittal65
@sachinmittal65 3 жыл бұрын
can we use file like product .dart instead of .json file?
@elquenoaplica3975
@elquenoaplica3975 3 жыл бұрын
Great tutorial and explanation. Thanks
@Mohammed-sg4tr
@Mohammed-sg4tr Жыл бұрын
That's very good, thank you
@vinayghadigaonkar8215
@vinayghadigaonkar8215 3 жыл бұрын
Thank you, brother.
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
You are very welcome
@nikhilkumarjamwal5322
@nikhilkumarjamwal5322 Жыл бұрын
Nice Explanation. Can you also make a video on how to write data on json file and read it and use the data in flutter application?
@ProtoCodersPoint
@ProtoCodersPoint Жыл бұрын
Sure
@riku402
@riku402 2 жыл бұрын
thanks, this helped me
@ezimaxtech
@ezimaxtech 3 жыл бұрын
Nice sharing
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Thanks for liking
@rutugabani
@rutugabani 8 ай бұрын
thank you so much
@ProtoCodersPoint
@ProtoCodersPoint 8 ай бұрын
You're welcome!
@aidaaqilahmohdzin5542
@aidaaqilahmohdzin5542 3 жыл бұрын
thank you, this helps me a lot. But for example, if i want to add audio, it means i can just input the link in the json file?
@xabibullohxalilov682
@xabibullohxalilov682 2 жыл бұрын
thank you broo
@parfaittapsoba754
@parfaittapsoba754 2 жыл бұрын
Good video ! Just improve the sound quality ...
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
Thanks
@Vin_5898
@Vin_5898 3 жыл бұрын
thank you sir for great tutorial but I've a ques what if we create a image folder inside the assets folder and store our images then how we can get those images using json file...suppose assets/image/shoes.jpg and in the json file "image" : "assets/img/shoes.jpg"
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Yes, you can I will share you the code soon
@Vin_5898
@Vin_5898 3 жыл бұрын
@@ProtoCodersPoint thank you sir
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
In this video tutorial we have json file which have imageurl to show image from internet instead of that you must define, in json the path of your assets folder Image like this "image": "assets/img/shoes.jpg" and then in Flutter Code make use of Image.asset(items[index].image.toString()), instead of NetworkImage That's it
@Vin_5898
@Vin_5898 3 жыл бұрын
@@ProtoCodersPoint Thank you sir it worked
@Vin_5898
@Vin_5898 3 жыл бұрын
@@ProtoCodersPoint sir i've one more ques I wanted to play audio when we tap on the one of the item in the list view using same code (title + image + audio) using json file how we can do that??
@kolambiinarula9857
@kolambiinarula9857 Жыл бұрын
thanks
@aadhithiyasrivatsan
@aadhithiyasrivatsan Жыл бұрын
Kindly tell, how to insert the same in SQFLite table... That would be great....
@ProtoCodersPoint
@ProtoCodersPoint Жыл бұрын
Sure, I will create a video on same as soon as possible.
@aadhithiyasrivatsan
@aadhithiyasrivatsan Жыл бұрын
@@ProtoCodersPoint thanks for the quick response.... Kindly do asap....
@aadhithiyasrivatsan
@aadhithiyasrivatsan Жыл бұрын
You are the only video on internet... Who have used offline json... Glad that I found you.... Wish you all the best...
@daviddzgoev9024
@daviddzgoev9024 3 жыл бұрын
Thanks 😊
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
You’re welcome 😉 Always happy to help
@mdshahed5364
@mdshahed5364 2 жыл бұрын
I have question Isn't we have to call the getuser function in statstate method
@codinggoIndonesia
@codinggoIndonesia 3 жыл бұрын
thank you
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Welcome 🤗
@Aadidev7530
@Aadidev7530 Жыл бұрын
Can we convert json files into photos or videos
@hemantchauhan6437
@hemantchauhan6437 2 жыл бұрын
I have used image path in place of url. will that work? .If yes then how we will write it to display
@faisalhukkeri6793
@faisalhukkeri6793 2 жыл бұрын
i have a json file for user signup how can i integrate it i dont think there's a need to make a model bcoz theres no need to save user info
@faisalhukkeri6793
@faisalhukkeri6793 2 жыл бұрын
I've tried few videos for past 4 days, none of them work and there's no video tutorial in which they are using json signup api files
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
Ok ✅ I will try to make a video tutorial asap
@faisalhukkeri6793
@faisalhukkeri6793 2 жыл бұрын
Update: I found a way to integrate it. Thank you for responding 🙂🤜🏼🤛🏼
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
@@faisalhukkeri6793 oh that’s great 😃
@gggg-no6rm
@gggg-no6rm 3 жыл бұрын
if I went to press in the item and show all item details how i will doit ?????
@thushankalana4940
@thushankalana4940 4 ай бұрын
I cant load image from https get request. What is the reason for that?
@kapilpatidar1099
@kapilpatidar1099 2 жыл бұрын
i am getting error while importing "import 'package:read_json_file/ProductDataModel.dart'; ", pls guide
@vishruta9761
@vishruta9761 2 жыл бұрын
what if I want a grid view instead of list view?
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
U can use flutter GridView Do you want the tutorial on gridview in flutter?
@BrYarDJ
@BrYarDJ 2 жыл бұрын
nice bro how if image not url and also local ?
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
Sorry, I did not got your question Say again
@BrYarDJ
@BrYarDJ 2 жыл бұрын
@@ProtoCodersPoint ok, i mean how can use image assets in place URL, i mean if i have image in assets not i have url, how can use there, How do I call the image in place url, i hope you understand, thanks
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
Use image.asset(‘asset image path ’)
@BrYarDJ
@BrYarDJ 2 жыл бұрын
@@ProtoCodersPoint thanks
@krutikabaraskar4211
@krutikabaraskar4211 Жыл бұрын
I'm having error on images
@vayugnath1358
@vayugnath1358 3 жыл бұрын
Any link to source?
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Check description bro
@vayugnath1358
@vayugnath1358 3 жыл бұрын
@@ProtoCodersPoint I dont see it.. honestly. Don't mind it though. Good job with this one :) Can you make a tutorial on how to read into a json file from an app and store it, and read it back as a list or something
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
Check it protocoderspoint.com/read-json-file-assets-flutter-display-data-listview/
@ProtoCodersPoint
@ProtoCodersPoint 3 жыл бұрын
@@vayugnath1358 I already make a video on same concept but it's not exactly same as you requested Check it out kzbin.info/www/bejne/e6nKgZKJdtiYhJo Learn from this video and apply your logic if you are not able to do tell me I will soon make a video on the same
@mdshahed5364
@mdshahed5364 2 жыл бұрын
A lot of problem in your code
@ProtoCodersPoint
@ProtoCodersPoint 2 жыл бұрын
Share the problem you faced
@mdshahed5364
@mdshahed5364 2 жыл бұрын
it’s showing a null error "Expected a value type list datamodel but it gone type null and you have to use late keyword in the class property "
@JOc17KER
@JOc17KER 2 жыл бұрын
@@mdshahed5364 i got same problem, how to solve it?
Flutter Tutorial - Parsing XML and JSON Data | Dart
22:04
RetroPortal Studio
Рет қаралды 23 М.
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 14 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 57 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 9 МЛН
Flutter Tutorial - FutureBuilder - Load JSON From Network & Local
11:48
HeyFlutter․com
Рет қаралды 30 М.
Путин ответил на угрозы Трампа
7:21
Diplomatrutube
Рет қаралды 1,3 МЛН
Display Data From a JSON in Flutter
7:11
Programming Addict
Рет қаралды 126 М.
Get data from Api in flutter - HTTP Requests in flutter
15:00
Flutter With Me
Рет қаралды 137 М.
How to Read/Write Text, JSON, and Image Files in Flutter
45:45
The Flutter Factory
Рет қаралды 21 М.
FutureBuilder In Flutter - Building Lists with JSON Data
15:30
Samarth Agarwal
Рет қаралды 253 М.