ATable<T> constructor
const
ATable<T> ({
- Key? key,
- required List<
ATableColumn< columns,T> > - EdgeInsets rowPadding = const EdgeInsets.all(8),
- bool striped = true,
- int loaderLimit = 100,
- void onItemClicked(
- T item
- required Future<
List< loadItems(),T> > - Color? customRowColor(
- T
- double fontSize = 14,
- double mobileBreakpointWidth = 400,
- double mobileHeaderWidth = 100,
- String emptyMessage = "Nenhum item encontrado",
Implementation
const ATable({
super.key,
required this.columns,
this.rowPadding = const EdgeInsets.all(8),
this.striped = true,
this.loaderLimit = 100,
this.onItemClicked,
required this.loadItems,
this.customRowColor,
this.fontSize = 14,
this.mobileBreakpointWidth = 400,
this.mobileHeaderWidth = 100,
this.emptyMessage = "Nenhum item encontrado",
});