copyWith method

Implementation

NomoVerticalMenuThemeData copyWith(
    [NomoVerticalMenuThemeDataNullable? override]) {
  return NomoVerticalMenuThemeData(
    border: override?.border ?? border,
    selectedBorder: override?.selectedBorder ?? selectedBorder,
    foreground: override?.foreground ?? foreground,
    background: override?.background ?? background,
    selectedBackground: override?.selectedBackground ?? selectedBackground,
    selectedForeground: override?.selectedForeground ?? selectedForeground,
    borderRadius: override?.borderRadius ?? borderRadius,
    hPadding: override?.hPadding ?? hPadding,
    itemSpacing: override?.itemSpacing ?? itemSpacing,
    spacing: override?.spacing ?? spacing,
    height: override?.height ?? height,
    iconSize: override?.iconSize ?? iconSize,
  );
}