loadUrl method

Future<void> loadUrl(
  1. String url
)

Implementation

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