DataRow2.byIndex constructor

DataRow2.byIndex({
  1. int? index,
  2. bool selected = false,
  3. ValueChanged<bool?>? onSelectChanged,
  4. MaterialStateProperty<Color?>? color,
  5. Decoration? decoration,
  6. required List<DataCell> cells,
  7. double? specificRowHeight,
  8. GestureTapCallback? onTap,
  9. GestureTapCallback? onDoubleTap,
  10. GestureLongPressCallback? onLongPress,
  11. GestureTapCallback? onSecondaryTap,
  12. GestureTapDownCallback? onSecondaryTapDown,
})

Implementation

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