currentUrl method

Future<String?> currentUrl()

Returns the current URL that the WebView is displaying.

If no URL was ever loaded, returns null.

Implementation

Future<String?> currentUrl() {
  return platform.currentUrl();
}