SfDataGridThemeData constructor

SfDataGridThemeData({
  1. Brightness? brightness,
  2. Color? gridLineColor,
  3. double? gridLineStrokeWidth,
  4. Color? selectionColor,
  5. DataGridCurrentCellStyle? currentCellStyle,
  6. Color? frozenPaneLineColor,
  7. double? frozenPaneLineWidth,
  8. Color? sortIconColor,
  9. Color? headerHoverColor,
  10. Color? headerColor,
  11. double? frozenPaneElevation,
  12. Color? rowHoverColor,
  13. Color? columnResizeIndicatorColor,
  14. double? columnResizeIndicatorStrokeWidth,
  15. 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,
  );
}