copyWith method
Creates a copy of this FlintTextSpan with optional property overrides.
Implementation
FlintTextSpan copyWith({String? text, TextStyle? style, String? onTap}) {
return FlintTextSpan(
text ?? this.text,
style: style ?? this.style,
onTap: onTap ?? this.onTap,
);
}