I'm building a reusable component using FlutterFlow's native DataTable
widget. I already successfully set:
rawData
as a List<JSON> via parameterDynamically generated
fieldKeys
using a custom function (extractKeysFromFirstRow
)Dynamic column count based on
fieldKeys
Dynamic headers using
fieldKeys[DataTable Dynamic Column Index]
My challenge is:
I want each DataTableCell
to show the value that corresponds to the row and current column