copyWith method
HorizontalHeaderLookAndFeel
copyWith({
- String? backgroundColor,
- ButtonLookAndFeel? button,
- SearchFieldLookAndFeel? search,
Implementation
HorizontalHeaderLookAndFeel copyWith(
{String? backgroundColor,
ButtonLookAndFeel? button,
TopNavigationLookAndFeel? primaryNavigation,
NavigationLookAndFeel? secondaryNavigation,
SearchFieldLookAndFeel? search}) {
return HorizontalHeaderLookAndFeel(
backgroundColor: backgroundColor ?? this.backgroundColor,
button: button ?? this.button,
primaryNavigation: primaryNavigation ?? this.primaryNavigation,
secondaryNavigation: secondaryNavigation ?? this.secondaryNavigation,
search: search ?? this.search,
);
}