DataRowY.byIndex constructor

DataRowY.byIndex({
  1. int? index,
  2. bool selected = false,
  3. ValueChanged<bool?>? onSelectChanged,
  4. GestureLongPressCallback? onLongPress,
  5. GestureTapCallback? onSecondaryTap,
  6. GestureTapCallback? onDoubleTap,
  7. WidgetStateProperty<Color?>? color,
  8. WidgetStateProperty<MouseCursor?>? mouseCursor,
  9. required List<DataCellY> cells,
})

Implementation

DataRowY.byIndex({
  int? index,
  this.selected = false,
  this.onSelectChanged,
  this.onLongPress,
  this.onSecondaryTap,
  this.onDoubleTap,
  this.color,
  this.mouseCursor,
  required this.cells,
}) : key = ValueKey<int?>(index);