loadUrl method
Implementation
Future<void> loadUrl(String url) async {
if (_webViewController != null) {
await _webViewController!.loadUrl(
urlRequest: URLRequest(url: WebUri(url)),
);
setState(() {
_currentUrl = url;
});
}
}