DEV Community

Discussion on: Learn Dart #5: Read and Write files in under 30 seconds

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks for your article!

If I were lazy to look up the documentation myself, I'd like to extend this example by two things:

  • handling the path of a file in a proper way (so not a bare string)
  • read the contents of the file line by line
Collapse
 
creativ_bracket profile image
Jermaine

Thanks @sandordargo for your feedback. I've updated the article on those points.

Collapse
 
sandordargo profile image
Sandor Dargo

You're awesome, man!