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

ความคิดเห็น • 9

  • @ericberg2131
    @ericberg2131 2 ปีที่แล้ว +1

    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()!;

  • @NitinVarma
    @NitinVarma 2 ปีที่แล้ว

    I'm very grateful to find this playlist.
    Thank you, Johan!👍

  • @pravinpund7523
    @pravinpund7523 3 ปีที่แล้ว +2

    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.

  • @omarhaadnaan3737
    @omarhaadnaan3737 ปีที่แล้ว +1

    thank you .can we get the source code of every video

  • @mustafamanhal
    @mustafamanhal 2 ปีที่แล้ว

    Thank you soooo much ♥️♥️♥️you are very helpful ♥️♥️

  • @fatemakhalfan6980
    @fatemakhalfan6980 2 ปีที่แล้ว

    Thanks.. It was very helpful

  • @ishay777777777
    @ishay777777777 ปีที่แล้ว

    this doesn't work. I get a Instance of 'Future' error

    • @mnagraba
      @mnagraba ปีที่แล้ว

      You've probably typed ".readAsLines();" instead ".readAsLinesSync();"

  • @bravoslab
    @bravoslab ปีที่แล้ว

    or u can turn the .csv file into a dataframe using Pandas xD