copyWith method
Copy with selective overrides.
Implementation
StatusBarThemeData copyWith({
Color? background,
Color? foreground,
Color? keyBackground,
Color? keyForeground,
Style? keyStyle,
Style? labelStyle,
String? separator,
}) {
return StatusBarThemeData(
background: background ?? this.background,
foreground: foreground ?? this.foreground,
keyBackground: keyBackground ?? this.keyBackground,
keyForeground: keyForeground ?? this.keyForeground,
keyStyle: keyStyle ?? this.keyStyle,
labelStyle: labelStyle ?? this.labelStyle,
separator: separator ?? this.separator,
);
}