copyWith method

TopNavigationLookAndFeel copyWith({
  1. String? color,
  2. String? highlightColor,
  3. TopNavigationLookAndFeelHoverOrFocus? hoverOrFocus,
})

Implementation

TopNavigationLookAndFeel copyWith(
    {String? color,
    String? highlightColor,
    TopNavigationLookAndFeelHoverOrFocus? hoverOrFocus}) {
  return TopNavigationLookAndFeel(
    color: color ?? this.color,
    highlightColor: highlightColor ?? this.highlightColor,
    hoverOrFocus: hoverOrFocus ?? this.hoverOrFocus,
  );
}