copyWith method
ThemeData
copyWith({
- Brightness? brightness,
- CellStyle? textStyle,
- CellStyle? mutedStyle,
- CellStyle? selectionStyle,
- CellStyle? focusedStyle,
- CellStyle? errorStyle,
- CellStyle? interactiveStyle,
- BorderStyle? borderStyle,
- ColorScheme? colorScheme,
- 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,
);