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,
  16. Widget? sortIcon,
  17. Widget? filterIcon,
  18. Color? filterIconColor,
  19. Color? filterIconHoverColor,
  20. Color? sortOrderNumberColor,
  21. Color? sortOrderNumberBackgroundColor,
  22. TextStyle? filterPopupTextStyle,
  23. TextStyle? filterPopupDisabledTextStyle}
)

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,
  Widget? sortIcon,
  Widget? filterIcon,
  Color? filterIconColor,
  Color? filterIconHoverColor,
  Color? sortOrderNumberColor,
  Color? sortOrderNumberBackgroundColor,
  TextStyle? filterPopupTextStyle,
  TextStyle? filterPopupDisabledTextStyle,
}) {
  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,
      sortIcon: sortIcon,
      filterIcon: filterIcon,
      filterIconColor: filterIconColor,
      filterIconHoverColor: filterIconHoverColor,
      sortOrderNumberColor: sortOrderNumberColor,
      sortOrderNumberBackgroundColor: sortOrderNumberBackgroundColor,
      filterPopupTextStyle: filterPopupTextStyle,
      filterPopupDisabledTextStyle: filterPopupDisabledTextStyle);
}