DataRow2.byIndex constructor

DataRow2.byIndex({
  1. int? index,
  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,
})

Implementation

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