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