DataRowPlus constructor Null safety
- {LocalKey? key,
- bool selected = false,
- ValueChanged<
bool?> ? onSelectChanged, - MaterialStateProperty<
Color?> ? color, - required List<
DataCell> cells, - VoidCallback? onTap,
- VoidCallback? onSecondaryTap,
- 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);