8

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:

Grayrigel
  • 3,474
  • 5
  • 14
  • 32

0 Answers0