DataRowWidget<T> constructor
const
DataRowWidget<T> ({
- required int index,
- required List<
Widget> data, - required List<
String> headers, - required dynamic onRowPressed(),
- required bool isLoading,
- required bool isExpanded,
- required bool selected,
- required ValueChanged<
bool?> onSelectChanged, - List<
TableAction< ? rowActions,T> > - bool useWideCol = true,
- bool? isSelectable = false,
- bool expandableChildExists = false,
- bool? stripedRows = false,
- BoxBorder? rowBorder,
- T? item,
- List<
double> ? columnWidths, - Key? key,
Implementation
const DataRowWidget({
required this.index,
required this.data,
required this.headers,
required this.onRowPressed,
required this.isLoading,
required this.isExpanded,
required this.selected,
required this.onSelectChanged,
this.rowActions,
this.useWideCol = true,
this.isSelectable = false,
this.expandableChildExists = false,
this.stripedRows = false,
this.rowBorder,
this.item,
this.columnWidths,
super.key,
});