recognizer method
Implementation
TapGestureRecognizer recognizer(String url) {
return new TapGestureRecognizer()
..onTap = () {
if (url.startsWith("http://") || url.startsWith("https://")) {
_launchURL(url);
} else {
_launchOtherURL(url);
}
};
}