// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'rich_text_builder.dart';

// **************************************************************************
// ComponentCopyWithGenerator
// **************************************************************************

class $RichTextBuilderCWProxyImpl implements $RichTextBuilderComponentCWProxy {
  const $RichTextBuilderCWProxyImpl(this._value);
  final RichTextBuilder _value;
  @override
  RichTextBuilder text(String? text) => this(text: text);
  @override
  RichTextBuilder parser(RichTextParser? parser) => this(parser: parser);
  @override
  RichTextBuilder defaultStyle(TextStyle? defaultStyle) =>
      this(defaultStyle: defaultStyle);
  @override
  RichTextBuilder styles(Map<String, TextStyle>? styles) =>
      this(styles: styles);
  @override
  RichTextBuilder key(Key? key) => this(key: key);
  @override
  RichTextBuilder call({
    String? text,
    RichTextParser? parser,
    TextStyle? defaultStyle,
    Map<String, TextStyle>? styles,
    Key? key,
  }) =>
      RichTextBuilder(
        text: text ?? _value.text,
        parser: parser ?? _value.parser,
        defaultStyle: defaultStyle ?? _value.defaultStyle,
        styles: styles ?? _value.styles,
        key: key ?? _value.key,
      );
}

mixin $RichTextBuilderCWMixin on Component {
  $RichTextBuilderComponentCWProxy get copyWith =>
      $RichTextBuilderCWProxyImpl(this as RichTextBuilder);
}
