addLink method
Implementation
void addLink(String text, Link link) {
textSpans.add(TextSpan(
text: text,
style: TextStyle(
fontSize: textStyle.fontSize,
color: Colors.blue,
),
recognizer: TapGestureRecognizer()
..onTap = () {
_launchUrl(link.uri);
},
));
}