SummerDataTableThemeData constructor
const
SummerDataTableThemeData({
- required Color headerBackgroundColor,
- required TextStyle headerTextStyle,
- required Color cellBackgroundColor,
- required Color? altRowBackgroundColor,
- required Color? hoverColor,
- required Color? selectedColor,
- required Color sortActiveColor,
- required TextStyle cellTextStyle,
- required double rowHeight,
- required double headerHeight,
- required Color borderColor,
- required double borderWidth,
- required Color resizeHandleColor,
- required double resizeHandleWidth,
- required Widget sortAscendingIcon,
- required Widget sortDescendingIcon,
- required Widget expandIcon,
- Widget? loadingWidget,
- Widget? emptyWidget,
- Color iconInactiveColor = const Color(0xFFBFBFBF),
- Color controlBorderColor = const Color(0xFFBFBFBF),
- Widget? sortInactiveIcon,
- required Color paginationActiveColor,
- required double paginationHeight,
- required double pageButtonSize,
- BoxShadow? fixedColumnShadow,
- Color? pinnedColumnBackgroundColor,
- String filterResetLabel = 'Reset',
- String filterConfirmLabel = 'Confirm',
Implementation
const SummerDataTableThemeData({
required this.headerBackgroundColor,
required this.headerTextStyle,
required this.cellBackgroundColor,
required this.altRowBackgroundColor,
required this.hoverColor,
required this.selectedColor,
required this.sortActiveColor,
required this.cellTextStyle,
required this.rowHeight,
required this.headerHeight,
required this.borderColor,
required this.borderWidth,
required this.resizeHandleColor,
required this.resizeHandleWidth,
required this.sortAscendingIcon,
required this.sortDescendingIcon,
required this.expandIcon,
this.loadingWidget,
this.emptyWidget,
this.iconInactiveColor = const Color(0xFFBFBFBF),
this.controlBorderColor = const Color(0xFFBFBFBF),
this.sortInactiveIcon,
required this.paginationActiveColor,
required this.paginationHeight,
required this.pageButtonSize,
this.fixedColumnShadow,
this.pinnedColumnBackgroundColor,
this.filterResetLabel = 'Reset',
this.filterConfirmLabel = 'Confirm',
});