copyWith method

  1. @override
InlineSpan copyWith({
  1. TextStyle? style,
  2. double? baseline,
  3. AnnotationBuilder? annotation,
})
override

Implementation

@override
InlineSpan copyWith({
  TextStyle? style,
  double? baseline,
  AnnotationBuilder? annotation,
}) =>
    TextSpan(
      style: style ?? this.style,
      text: text,
      baseline: baseline ?? this.baseline,
      children: children,
      annotation: annotation ?? this.annotation,
    );