Async CSV convert to Listing
I’ve a 30 MB CSV document that I need to convert to a Listing, after which to a Listing of my very own information magnificence. I will be able to learn the document async, however the CSV conversion appears to be sync (the flutter app is frozen for 2-3 seconds):
ultimate rawData = look forward to rootBundle.loadString(“information/main_table.csv”);
Listing<ItemRow> listData =
.map((information) => ItemRow(information))
I wish to run async the convert approach (or in a background thread). Some hints to try this in Dart/flutter? Another way?
View Reddit through heltena_cat – View Supply