SfDataGridThemeData.raw constructor

SfDataGridThemeData.raw({
  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,
  24. Color? columnDragIndicatorColor,
  25. double? columnDragIndicatorStrokeWidth,
  26. Widget? groupExpanderIcon,
  27. double? indentColumnWidth,
  28. Color? indentColumnColor,
})

Create a SfDataGridThemeData that's used to configure a SfDataGridTheme.

Implementation

factory SfDataGridThemeData.raw({
  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,
  Color? columnDragIndicatorColor,
  double? columnDragIndicatorStrokeWidth,
  Widget? groupExpanderIcon,
  double? indentColumnWidth,
  Color? indentColumnColor,
}) {
  brightness = brightness ?? Brightness.light;
  return SfDataGridThemeData(
      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,
      columnDragIndicatorColor: columnDragIndicatorColor,
      columnDragIndicatorStrokeWidth: columnDragIndicatorStrokeWidth,
      groupExpanderIcon: groupExpanderIcon,
      indentColumnWidth: indentColumnWidth,
      indentColumnColor: indentColumnColor);
}