copyWith method
Implementation
BaseStyle copyWith({
double? fontSize,
Color? color,
double? height,
Color? activeColor,
Color? backgroundColor,
Color? backgroundActiveColor,
}) {
// print("copyWidth >>> fontSize: ${fontSize ?? this.fontSize}");
return BaseStyle(
fontSize: fontSize ?? this.fontSize,
color: color ?? this.color,
height: height ?? this.height,
activeColor: activeColor ?? this.activeColor,
backgroundColor: backgroundColor ?? this.backgroundColor,
backgroundActiveColor:
backgroundActiveColor ?? this.backgroundActiveColor);
}