merge method
Implementation
NavigationPaneThemeData merge(NavigationPaneThemeData? style) {
return NavigationPaneThemeData(
iconPadding: style?.iconPadding ?? iconPadding,
labelPadding: style?.labelPadding ?? labelPadding,
headerPadding: style?.headerPadding ?? headerPadding,
tileColor: style?.tileColor ?? tileColor,
backgroundColor: style?.backgroundColor ?? backgroundColor,
overlayBackgroundColor:
style?.overlayBackgroundColor ?? overlayBackgroundColor,
itemHeaderTextStyle: style?.itemHeaderTextStyle ?? itemHeaderTextStyle,
selectedTextStyle: style?.selectedTextStyle ?? selectedTextStyle,
unselectedTextStyle: style?.unselectedTextStyle ?? unselectedTextStyle,
selectedTopTextStyle: style?.selectedTopTextStyle ?? selectedTopTextStyle,
unselectedTopTextStyle:
style?.unselectedTopTextStyle ?? unselectedTopTextStyle,
highlightColor: style?.highlightColor ?? highlightColor,
animationCurve: style?.animationCurve ?? animationCurve,
animationDuration: style?.animationDuration ?? animationDuration,
selectedIconColor: style?.selectedIconColor ?? selectedIconColor,
unselectedIconColor: style?.unselectedIconColor ?? unselectedIconColor,
paneNavigationButtonIcon:
style?.paneNavigationButtonIcon ?? paneNavigationButtonIcon,
);
}