Created
November 4, 2019 02:14
-
-
Save ipondroid/5f4c0785589127c3a898973f9ede230d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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