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,
}) =>
    WidgetSpan(
      child: child,
      style: style ?? this.style,
      baseline: baseline ?? this.baseline,
      annotation: annotation ?? this.annotation,
    );