DataRow2 constructor

const DataRow2({
  1. LocalKey? key,
  2. bool selected = false,
  3. ValueChanged<bool?>? onSelectChanged,
  4. MaterialStateProperty<Color?>? color,
  5. required List<DataCell> cells,
  6. double? specificRowHeight,
  7. GestureTapCallback? onTap,
  8. GestureTapCallback? onDoubleTap,
  9. GestureLongPressCallback? onLongPress,
  10. GestureTapCallback? onSecondaryTap,
  11. GestureTapDownCallback? onSecondaryTapDown,
})

Creates the configuration for a row of a DataTable2.

The cells argument must not be null.

Implementation

const DataRow2(
    {super.key,
    super.selected = false,
    super.onSelectChanged,
    super.color,
    required super.cells,
    this.specificRowHeight,
    this.onTap,
    this.onDoubleTap,
    super.onLongPress,
    this.onSecondaryTap,
    this.onSecondaryTapDown});