copyWith method

NavigationLookAndFeel copyWith({
  1. String? color,
  2. String? highlightColor,
  3. NavigationLookAndFeelHoverOrFocus? hoverOrFocus,
})

Implementation

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