Set dynamic height value to dataRowHeight Property of DataTable Widget to fit different Row's content - #flutter

1.2k Views Asked by At

I need to set dynamic height value to dataRowHeight property of DataTable Widget to fit different Row's contents and I don't want to use Table Widget which allows that. - #flutter

As by default, it uses kMinInteractiveDimension value of (48.0) as defined in DataTableThemeData.

DataTable(dataRowHeight: 150, columns: [DataColumn()...], rows: [DataRow()....])

Check this image:

0

There are 0 best solutions below