PlexDataTableWithPages constructor
PlexDataTableWithPages({
- Key? key,
- required List<
PlexDataCell> columns, - required List<
List< rows,PlexDataCell> > - int perPageRows = 10,
- dynamic onRefresh()?,
- bool enableSearch = true,
- bool enablePrint = true,
- bool enableCopy = true,
- Color? headerBackground,
- TextStyle? headerTextStyle,
- Color? alternateColor = const Color(0xFFA8A8A8),
- TableBorder? border,
- double? columnSpacing,
Implementation
PlexDataTableWithPages({
super.key,
required this.columns,
required this.rows,
this.perPageRows = 10,
this.onRefresh,
this.enableSearch = true,
this.enablePrint = true,
this.enableCopy = true,
this.headerBackground,
this.headerTextStyle,
this.alternateColor = const Color(0xFFA8A8A8),
this.border,
this.columnSpacing,
});