copyWith method
InlineSpan
copyWith({
- TextStyle? style,
- double? baseline,
- 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,
);