copyWith method
AbnormalStateConfig
copyWith(
{ - BaseTextStyle? titleTextStyle,
- BaseTextStyle? contentTextStyle,
- BaseTextStyle? operateTextStyle,
- double? btnRadius,
- BaseTextStyle? singleTextStyle,
- BaseTextStyle? doubleTextStyle,
- double? singleMinWidth,
- double? doubleMinWidth,
})
Implementation
AbnormalStateConfig copyWith({
BaseTextStyle? titleTextStyle,
BaseTextStyle? contentTextStyle,
BaseTextStyle? operateTextStyle,
double? btnRadius,
BaseTextStyle? singleTextStyle,
BaseTextStyle? doubleTextStyle,
double? singleMinWidth,
double? doubleMinWidth,
}) {
return AbnormalStateConfig(
titleTextStyle: titleTextStyle ?? _titleTextStyle,
contentTextStyle: contentTextStyle ?? _contentTextStyle,
operateTextStyle: operateTextStyle ?? _operateTextStyle,
btnRadius: btnRadius ?? _btnRadius,
singleTextStyle: singleTextStyle ?? _singleTextStyle,
doubleTextStyle: doubleTextStyle ?? _doubleTextStyle,
singleMinWidth: singleMinWidth ?? _singleMinWidth,
doubleMinWidth: doubleMinWidth ?? _doubleMinWidth,
);
}