DataRow2 constructor
const
DataRow2({
- LocalKey? key,
- bool selected = false,
- ValueChanged<
bool?> ? onSelectChanged, - MaterialStateProperty<
Color?> ? color, - required List<
DataCell> cells, - double? specificRowHeight,
- GestureTapCallback? onTap,
- GestureTapCallback? onDoubleTap,
- GestureLongPressCallback? onLongPress,
- GestureTapCallback? onSecondaryTap,
- 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});