Skip to content

Instantly share code, notes, and snippets.

@ipondroid
Created November 4, 2019 02:14
Show Gist options
  • Save ipondroid/5f4c0785589127c3a898973f9ede230d to your computer and use it in GitHub Desktop.
Save ipondroid/5f4c0785589127c3a898973f9ede230d to your computer and use it in GitHub Desktop.
List<String> csvRows;
List<String> csvHeadingRow;
@override
void initState() {
super.initState();
List<String> csvSplit = widget.csvString.split('\n');
csvHeadingRow = csvSplit[0].split(',');
csvSplit.removeAt(0);
csvRows = csvSplit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment