copyWith method
LogViewerTheme
copyWith({
- Color? traceColor,
- Color? debugColor,
- Color? infoColor,
- Color? warningColor,
- Color? errorColor,
- Color? fatalColor,
- Color? warningBackground,
- Color? errorBackground,
- Color tagColor(
- String tag
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
LogViewerTheme copyWith({
Color? traceColor,
Color? debugColor,
Color? infoColor,
Color? warningColor,
Color? errorColor,
Color? fatalColor,
Color? warningBackground,
Color? errorBackground,
Color Function(String tag)? tagColor,
}) => LogViewerTheme(
traceColor: traceColor ?? this.traceColor,
debugColor: debugColor ?? this.debugColor,
infoColor: infoColor ?? this.infoColor,
warningColor: warningColor ?? this.warningColor,
errorColor: errorColor ?? this.errorColor,
fatalColor: fatalColor ?? this.fatalColor,
warningBackground: warningBackground ?? this.warningBackground,
errorBackground: errorBackground ?? this.errorBackground,
tagColor: tagColor ?? this.tagColor,
);