ErpDataTable constructor
const
ErpDataTable({
- Key? key,
- required String title,
- required List<
ErpColumnConfig> columns, - required List<
Map< data,String, dynamic> > - List<
ErpColumnConfig> ? availableExtraColumns, - bool showSearch = true,
- Map<
String, dynamic> ? selectedRow, - void onRowTap()?,
- List<
Widget> ? headerActions, - String? emptyMessage,
- Map<
String, double> ? totals, - required String token,
- required String url,
- required bool isReportRow,
- List<
ErpSearchFieldConfig> ? searchFields,
Implementation
const ErpDataTable({
super.key,
required this.title,
required this.columns,
required this.data,
// required this.theme,
this.availableExtraColumns,
this.showSearch = true,
this.selectedRow,
this.onRowTap,
this.headerActions,
this.emptyMessage,
this.showFooterTotals = false,
this.totals,
required this.token,
required this.url, required this.isReportRow, this.searchFields,
});