copyWith method

AbnormalStateConfig copyWith({
  1. BaseTextStyle? titleTextStyle,
  2. BaseTextStyle? contentTextStyle,
  3. BaseTextStyle? operateTextStyle,
  4. double? btnRadius,
  5. BaseTextStyle? singleTextStyle,
  6. BaseTextStyle? doubleTextStyle,
  7. double? singleMinWidth,
  8. 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,
  );
}