copyWith method
Implementation
ButtonConfig copyWith({
double? bigButtonRadius,
double? bigButtonHeight,
double? bigButtonFontSize,
double? smallButtonRadius,
double? smallButtonHeight,
double? smallButtonFontSize,
}) {
return ButtonConfig(
bigButtonRadius: bigButtonRadius ?? _bigButtonRadius,
bigButtonHeight: bigButtonHeight ?? _bigButtonHeight,
bigButtonFontSize: bigButtonFontSize ?? _bigButtonFontSize,
smallButtonRadius: smallButtonRadius ?? _smallButtonRadius,
smallButtonHeight: smallButtonHeight ?? _smallButtonHeight,
smallButtonFontSize: smallButtonFontSize ?? _smallButtonFontSize,
);
}