DataRow constructor

const DataRow({
  1. LocalKey? key,
  2. bool selected = false,
  3. ValueChanged<bool?>? onSelectChanged,
  4. GestureLongPressCallback? onLongPress,
  5. ValueChanged<bool>? onHover,
  6. WidgetStateProperty<Color?>? color,
  7. WidgetStateProperty<MouseCursor?>? mouseCursor,
  8. required List<DataCell> cells,
})

Creates the configuration for a row of a DataTable.

Implementation

const DataRow({
  this.key,
  this.selected = false,
  this.onSelectChanged,
  this.onLongPress,
  this.onHover,
  this.color,
  this.mouseCursor,
  required this.cells,
});