copyWith method

HorizontalHeaderLookAndFeel copyWith({
  1. String? backgroundColor,
  2. ButtonLookAndFeel? button,
  3. TopNavigationLookAndFeel? primaryNavigation,
  4. NavigationLookAndFeel? secondaryNavigation,
  5. 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,
  );
}