Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -90,9 +90,9 @@ void main() { | @@ -90,9 +90,9 @@ void main() { | ||
| 90 | pdf.addPage(Page( | 90 | pdf.addPage(Page( |
| 91 | theme: theme, | 91 | theme: theme, |
| 92 | build: (Context context) => Center( | 92 | build: (Context context) => Center( |
| 93 | - child: Table.fromTextArray(context: context, data: [ | ||
| 94 | - ['Header', '123'], | ||
| 95 | - ['Cell', '456'] | 93 | + child: Table.fromTextArray(context: context, data: <List<String>>[ |
| 94 | + <String>['Header', '123'], | ||
| 95 | + <String>['Cell', '456'] | ||
| 96 | ]), | 96 | ]), |
| 97 | ), | 97 | ), |
| 98 | )); | 98 | )); |
-
Please register or login to post a comment