Skip to content

Commit e31fca2

Browse files
Remove IO reference from Flutter XlsIO
1 parent c21b705 commit e31fca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/samples/xlsio/invoice/invoice.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class _InvoiceXlsIOState extends SampleViewState {
6161
//Accessing via index
6262
final Worksheet sheet = workbook.worksheets[0];
6363
sheet.name = 'Invoice';
64-
sheet.showGridLines = false;
64+
sheet.showGridlines = false;
6565

6666
sheet.enableSheetCalculations();
6767
sheet.getRangeByName('A1').columnWidth = 4.82;
@@ -226,7 +226,7 @@ class _InvoiceXlsIOState extends SampleViewState {
226226
picture.lastRow = 7;
227227
picture.lastColumn = 8;
228228

229-
final List<int> bytes = workbook.saveStream();
229+
final List<int> bytes = workbook.saveAsStream();
230230
workbook.dispose();
231231

232232
//Launch file.

0 commit comments

Comments
 (0)