copyWith method
DataExplorerTheme
copyWith({
- TextStyle? rootKeyTextStyle,
- TextStyle? propertyKeyTextStyle,
- TextStyle? keySearchHighlightTextStyle,
- TextStyle? valueTextStyle,
- TextStyle? valueSearchHighlightTextStyle,
- TextStyle? focusedKeySearchNodeHighlightTextStyle,
- TextStyle? focusedValueSearchHighlightTextStyle,
- Color? indentationLineColor,
- Color? highlightColor,
- double? indentationPadding,
- double? propertyIndentationPaddingFactor,
Implementation
DataExplorerTheme copyWith({
TextStyle? rootKeyTextStyle,
TextStyle? propertyKeyTextStyle,
TextStyle? keySearchHighlightTextStyle,
TextStyle? valueTextStyle,
TextStyle? valueSearchHighlightTextStyle,
TextStyle? focusedKeySearchNodeHighlightTextStyle,
TextStyle? focusedValueSearchHighlightTextStyle,
Color? indentationLineColor,
Color? highlightColor,
double? indentationPadding,
double? propertyIndentationPaddingFactor,
}) =>
DataExplorerTheme(
rootKeyTextStyle: rootKeyTextStyle ?? this.rootKeyTextStyle,
propertyKeyTextStyle: propertyKeyTextStyle ?? this.propertyKeyTextStyle,
keySearchHighlightTextStyle:
keySearchHighlightTextStyle ?? this.keySearchHighlightTextStyle,
valueTextStyle: valueTextStyle ?? this.valueTextStyle,
valueSearchHighlightTextStyle:
valueSearchHighlightTextStyle ?? this.valueSearchHighlightTextStyle,
indentationLineColor: indentationLineColor ?? this.indentationLineColor,
highlightColor: highlightColor ?? this.highlightColor,
indentationPadding: indentationPadding ?? this.indentationPadding,
propertyIndentationPaddingFactor: propertyIndentationPaddingFactor ??
this.propertyIndentationPaddingFactor,
focusedKeySearchHighlightTextStyle:
focusedKeySearchNodeHighlightTextStyle ??
this.focusedKeySearchNodeHighlightTextStyle,
focusedValueSearchHighlightTextStyle:
focusedValueSearchHighlightTextStyle ??
this.focusedValueSearchHighlightTextStyle,
);