copyWith method

RowThemeData copyWith({
  1. ThemeRowColor? color,
  2. ThemeRowColor? hoverBackground,
  3. ThemeRowColor? hoverForeground,
  4. double? dividerThickness,
  5. Color? dividerColor,
  6. bool? lastDividerVisible,
  7. bool? fillHeight,
  8. MouseCursor? cursor,
  9. bool? cursorOnTapGesturesOnly,
})

Creates a copy of this theme but with the given fields replaced with the new values.

Implementation

RowThemeData copyWith({
  ThemeRowColor? color,
  ThemeRowColor? hoverBackground,
  ThemeRowColor? hoverForeground,
  double? dividerThickness,
  Color? dividerColor,
  bool? lastDividerVisible,
  bool? fillHeight,
  MouseCursor? cursor,
  bool? cursorOnTapGesturesOnly,
}) {
  return RowThemeData(
      color: color ?? this.color,
      hoverBackground: hoverBackground ?? this.hoverBackground,
      hoverForeground: hoverForeground ?? this.hoverForeground,
      dividerThickness: dividerThickness ?? this.dividerThickness,
      dividerColor: dividerColor ?? this.dividerColor,
      lastDividerVisible: lastDividerVisible ?? this.lastDividerVisible,
      fillHeight: fillHeight ?? this.fillHeight,
      cursor: cursor ?? this.cursor,
      cursorOnTapGesturesOnly:
          cursorOnTapGesturesOnly ?? this.cursorOnTapGesturesOnly);
}