You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On android it creates a list of 28 itens, each one with 3 itens, just as the csv.
On IOs it creates a list of 61 itens, ignoring the first field and adding the 2nd and 3rd field on a sequence. Weird. I`m 3 hours here trying to find out what the problem was.
my code:
final String categoriesCsvContent = await rootBundle.loadString('assets/csvs/$categoriesCsvFileName');
_categoriesCsvData = CsvToListConverter().convert(categoriesCsvContent);
I got the problem just now, it is the eol, so I just changed like this:
I have a csv on this format with 28 lines:
On android it creates a list of 28 itens, each one with 3 itens, just as the csv.
On IOs it creates a list of 61 itens, ignoring the first field and adding the 2nd and 3rd field on a sequence. Weird. I`m 3 hours here trying to find out what the problem was.
my code:
I got the problem just now, it is the eol, so I just changed like this:
But it would be nice if the code could treat this automatically.
The text was updated successfully, but these errors were encountered: