copyWith method
Returns the overlay theme with only the supplied semantic overlay colors replaced.
Implementation
CarpenterOverlayTheme copyWith({
Color? background,
Color? foreground,
Color? supporting,
Color? border,
Color? hovered,
Color? selected,
Color? scrim,
Color? tooltipBackground,
Color? tooltipForeground,
}) => CarpenterOverlayTheme(
background: background ?? this.background,
foreground: foreground ?? this.foreground,
supporting: supporting ?? this.supporting,
border: border ?? this.border,
hovered: hovered ?? this.hovered,
selected: selected ?? this.selected,
scrim: scrim ?? this.scrim,
tooltipBackground: tooltipBackground ?? this.tooltipBackground,
tooltipForeground: tooltipForeground ?? this.tooltipForeground,
);