buildTabRecognizer method
Implementation
GestureRecognizer? buildTabRecognizer(FlatNodeV3 node) {
GestureRecognizer? linkTapRecognizer;
if (node.linkTarget != null) {
final String target = node.linkTarget!;
linkTapRecognizer = TapGestureRecognizer()
..onTap = () {
launchUrl(Uri.parse(target));
};
}
return linkTapRecognizer;
}