mayLaunchUrl method
Tells the browser of a likely future navigation to a URL. The most likely URL has to be specified first. Optionally, a list of other likely URLs can be provided. They are treated as less likely than the first one, and have to be sorted in decreasing priority order. These additional URLs may be ignored. All previous calls to this method will be deprioritized.
url
- Most likely URL, may be null if otherLikelyBundles is provided.
otherLikelyURLs
- Other likely destinations, sorted in decreasing likelihood order.
Officially Supported Platforms/Implementations:
Implementation
Future<bool> mayLaunchUrl({WebUri? url, List<WebUri>? otherLikelyURLs}) =>
platform.mayLaunchUrl(url: url, otherLikelyURLs: otherLikelyURLs);