copyWith method
NavigationSidebarThemeData
copyWith({
- Color? bg,
- Color? surface,
- Color? inputBg,
- Color? hover,
- Color? border,
- Color? borderStrong,
- Color? guide,
- Color? fg1,
- Color? fg2,
- Color? fg3,
- Color? fg4,
override
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
Implementation
@override
NavigationSidebarThemeData copyWith({
Color? bg,
Color? surface,
Color? inputBg,
Color? hover,
Color? border,
Color? borderStrong,
Color? guide,
Color? fg1,
Color? fg2,
Color? fg3,
Color? fg4,
}) =>
NavigationSidebarThemeData(
bg: bg ?? this.bg,
surface: surface ?? this.surface,
inputBg: inputBg ?? this.inputBg,
hover: hover ?? this.hover,
border: border ?? this.border,
borderStrong: borderStrong ?? this.borderStrong,
guide: guide ?? this.guide,
fg1: fg1 ?? this.fg1,
fg2: fg2 ?? this.fg2,
fg3: fg3 ?? this.fg3,
fg4: fg4 ?? this.fg4,
);