i've facing issue when create content within table which is created dynamically
need your suggesstion what i'm missing?
here is my error
I/flutter ( 2617): NoSuchMethodError: The method 'add' was called on null.
I/flutter ( 2617): Receiver: null
I/flutter ( 2617): Tried calling: add(Instance of 'RowContent')
here is my code
List<RowContent> aRow;
for (int i = 0; i < data3.length; i++) {
aRow.add(
RowContent()
..add(TextContent("xxNo", i + 1))
..add(TextContent("xxJenis", data3[i]['xJenis']))
..add(TextContent("xxMerk", "---")),
);
}
c
..add(TableContent("table", aRow));
Many thanks for your great plugins.
i've facing issue when create content within table which is created dynamically
need your suggesstion what i'm missing?
here is my error
here is my code