SfDataGridThemeData constructor
SfDataGridThemeData({
- Brightness? brightness,
- Color? gridLineColor,
- double? gridLineStrokeWidth,
- Color? selectionColor,
- DataGridCurrentCellStyle? currentCellStyle,
- Color? frozenPaneLineColor,
- double? frozenPaneLineWidth,
- Color? sortIconColor,
- Color? headerHoverColor,
- Color? headerColor,
- double? frozenPaneElevation,
- Color? rowHoverColor,
- Color? columnResizeIndicatorColor,
- double? columnResizeIndicatorStrokeWidth,
- TextStyle? rowHoverTextStyle,
Create a SfDataGridThemeData that's used to configure a SfDataGridTheme.
Implementation
factory SfDataGridThemeData({
Brightness? brightness,
Color? gridLineColor,
double? gridLineStrokeWidth,
Color? selectionColor,
DataGridCurrentCellStyle? currentCellStyle,
Color? frozenPaneLineColor,
double? frozenPaneLineWidth,
Color? sortIconColor,
Color? headerHoverColor,
Color? headerColor,
double? frozenPaneElevation,
Color? rowHoverColor,
Color? columnResizeIndicatorColor,
double? columnResizeIndicatorStrokeWidth,
TextStyle? rowHoverTextStyle,
}) {
return SfDataGridThemeData.raw(
brightness: brightness,
gridLineColor: gridLineColor,
gridLineStrokeWidth: gridLineStrokeWidth,
selectionColor: selectionColor,
currentCellStyle: currentCellStyle,
frozenPaneLineColor: frozenPaneLineColor,
frozenPaneLineWidth: frozenPaneLineWidth,
headerHoverColor: headerHoverColor,
sortIconColor: sortIconColor,
headerColor: headerColor,
frozenPaneElevation: frozenPaneElevation,
rowHoverColor: rowHoverColor,
columnResizeIndicatorColor: columnResizeIndicatorColor,
columnResizeIndicatorStrokeWidth: columnResizeIndicatorStrokeWidth,
rowHoverTextStyle: rowHoverTextStyle,
);
}