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
Copy file name to clipboardExpand all lines: Flutter/xlsio/working-with-excel-worksheet.md
+101Lines changed: 101 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,3 +237,104 @@ final List<int>? bytes = workbook.saveAsStream();
237
237
File('Output.xlsx').writeAsBytes(bytes!);
238
238
workbook.dispose();
239
239
{% endhighlight %}
240
+
241
+
## Save as CSV
242
+
243
+
A worksheet data with text, date time, and numbers with number formatting can be exported to CSV format. This feature also allows exporting the data to CSV format with custom separators instead of the default comma separator.
244
+
245
+
{% highlight dart %}
246
+
//Create a new Excel Document.
247
+
final Workbook workbook = Workbook();
248
+
249
+
//Access the sheets via index.
250
+
final Worksheet worksheet = workbook.worksheets[0];
0 commit comments