shouldOverrideUrlLoading property

bool shouldOverrideUrlLoading
finalinherited

Whether loading a url should be overridden.

In Java, shouldOverrideUrlLoading() and shouldOverrideRequestLoading() callbacks must synchronously return a boolean. This sets the default return value.

Setting shouldOverrideUrlLoading to true causes the current WebView to abort loading the URL, while returning false causes the WebView to continue loading the URL as usual. requestLoading or urlLoading will still be called either way.

Defaults to true.

Implementation

final bool shouldOverrideUrlLoading;