Dart Collections - Read data from a file into a collection
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- In this video we learn how to read data from a CSV file into a collection. We make use of the split method of Dart to get meaningful data line by line. Follow the full playlist here: • Introducing Flutter
For those working through this video, you need to put in an exclamation mark due to the introduction of null safety. The stdin line should read: var fileName = stdin.readLineSync()!;
I'm very grateful to find this playlist.
Thank you, Johan!👍
Hi very good learning from your video. I will be a greatful to you if you can make a video on how to read and save data from xls and xlsx to sqlite db in flutter app. I need this for my project. Also a lot of new learners like me are interested in this topic.
thank you .can we get the source code of every video
Thank you soooo much ♥️♥️♥️you are very helpful ♥️♥️
Thanks.. It was very helpful
this doesn't work. I get a Instance of 'Future' error
You've probably typed ".readAsLines();" instead ".readAsLinesSync();"
or u can turn the .csv file into a dataframe using Pandas xD