copyWith method
Implementation
DefaultBarConfig copyWith(BarConfig config) => DefaultBarConfig(
width: config.width ?? width,
color: config.color ?? color,
bgColor: config.bgColor ?? bgColor,
popUpColor: config.popUpColor ?? popUpColor,
popUp: config.popUpFn ?? popUp,
border: config.border ?? border,
bgBorder: config.bgBorder ?? bgBorder,
popUpBorderRadius: config.popUpBorderRadius ?? popUpBorderRadius,
popUpConfig: config.popUpConfig ?? popUpConfig,
);