copyWith method

ThemeData copyWith({
  1. Brightness? brightness,
  2. CellStyle? textStyle,
  3. CellStyle? mutedStyle,
  4. CellStyle? selectionStyle,
  5. CellStyle? focusedStyle,
  6. CellStyle? errorStyle,
  7. CellStyle? interactiveStyle,
  8. BorderStyle? borderStyle,
  9. ColorScheme? colorScheme,
  10. List<Object>? extensions,
})

Implementation

ThemeData copyWith({
  Brightness? brightness,
  CellStyle? textStyle,
  CellStyle? mutedStyle,
  CellStyle? selectionStyle,
  CellStyle? focusedStyle,
  CellStyle? errorStyle,
  CellStyle? interactiveStyle,
  BorderStyle? borderStyle,
  ColorScheme? colorScheme,
  List<Object>? extensions,
}) => ThemeData(
  brightness: brightness ?? this.brightness,
  textStyle: textStyle ?? this.textStyle,
  mutedStyle: mutedStyle ?? this.mutedStyle,
  selectionStyle: selectionStyle ?? this.selectionStyle,
  focusedStyle: focusedStyle ?? this.focusedStyle,
  errorStyle: errorStyle ?? this.errorStyle,
  interactiveStyle: interactiveStyle ?? this.interactiveStyle,
  borderStyle: borderStyle ?? this.borderStyle,
  colorScheme: colorScheme ?? this.colorScheme,
  extensions: extensions ?? this.extensions,
);