csv icon indicating copy to clipboard operation
csv copied to clipboard

A dart csv to list codec / converter

Results 21 csv issues
Sort by recently updated
recently updated
newest added

Error in CSV:4.0.3 ListToCSVConverter generate an extra CR code for each new line. The method convert(), generates one CR + CR + LF at the end of each line, when...

bug

I am using this library to generate the csv from array list in flutter web When there is chrome works fine. But in safari it gives me the csv data...

using csv: ^4.0.3 I have successfully converted a csv file on Andoid, but the same code doesn't work on iOS. String codetxt = await rootBundle.loadString('assets/file.csv'); List codeList = CsvToListConverter().convert(codetxt); print('codelist...

bug

CsvToListConverter adds extra rows for empty newlines at end of file. Would it make sense to skip these empty rows? I fixed it by doing: ``` rows.removeWhere((row) => row.length ==...

``` onPressed: () async { //blocs.homePageBloc.onClickScheduleReview(); //Navigator.of(context).push(MaterialPageRoute(builder: (BuildContext context) => ScheduleReviewPage())); Map permissions = await PermissionHandler().requestPermissions([PermissionGroup.storage]); bool isShown = await PermissionHandler().shouldShowRequestPermissionRationale(PermissionGroup.storage); String appDocDir; await getTemporaryDirectory().then((onValue) { appDocDir = onValue.path; });...

Hi, Would you consider adding another parameter to ListToCsvConverter that will customize how nulls get treated? Currently, for [1, null, 3] you get 1,null,3. That is inconvenient if you import...

feature request

[ '1', 3 ] should result in '"1",3' Currently 1 is not quoted.

enhancement

This pull request adds the ability to take a [Map] and convert it to csv. It is based on the python `csv` library's `DictWriter`: https://docs.python.org/2/library/csv.html#csv.DictWriter

Could it be possible to use `RegEx` field delimiters? I would like to use multiple tabs as delimiters.

enhancement