onTapCallback method
Calls HtmlWidget.onTapUrl
with url
.
Returns true
if there is a callback and it has handled the tap.
Implementation
Future<bool> onTapCallback(String url) async {
final callback = _widget?.onTapUrl;
return callback != null ? callback(url) : false;
}