DataRowPlus constructor

const DataRowPlus({
  1. LocalKey? key,
  2. bool selected = false,
  3. ValueChanged<bool?>? onSelectChanged,
  4. MaterialStateProperty<Color?>? color,
  5. required List<DataCell> cells,
  6. VoidCallback? onTap,
  7. VoidCallback? onSecondaryTap,
  8. GestureTapDownCallback? onSecondaryTapDown,
})

Creates the configuration for a row of a DataTablePlus.

The cells argument must not be null.

Implementation

const DataRowPlus(
    {LocalKey? key,
    bool selected = false,
    ValueChanged<bool?>? onSelectChanged,
    MaterialStateProperty<Color?>? color,
    required List<DataCell> cells,
    this.onTap,
    this.onSecondaryTap,
    this.onSecondaryTapDown})
    : super(
          key: key,
          selected: selected,
          onSelectChanged: onSelectChanged,
          color: color,
          cells: cells);