copyWith method
Implementation
NavigationPanelThemeData copyWith(NavigationPanelThemeData? style) {
return NavigationPanelThemeData(
cursor: style?.cursor ?? cursor,
iconPadding: style?.iconPadding ?? iconPadding,
labelPadding: style?.labelPadding ?? labelPadding,
color: style?.color ?? color,
selectedTextStyle: style?.selectedTextStyle ?? selectedTextStyle,
unselectedTextStyle: style?.unselectedTextStyle ?? unselectedTextStyle,
highlightColor: style?.highlightColor ?? highlightColor,
animationCurve: style?.animationCurve ?? animationCurve,
animationDuration: style?.animationDuration ?? animationDuration,
selectedIconColor: style?.selectedIconColor ?? selectedIconColor,
unselectedIconColor: style?.unselectedIconColor ?? unselectedIconColor,
);
}