DataRowY.byIndex constructor
DataRowY.byIndex({
- int? index,
- bool selected = false,
- ValueChanged<
bool?> ? onSelectChanged, - GestureLongPressCallback? onLongPress,
- GestureTapCallback? onSecondaryTap,
- GestureTapCallback? onDoubleTap,
- WidgetStateProperty<
Color?> ? color, - WidgetStateProperty<
MouseCursor?> ? mouseCursor, - 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);