getAvailableVersion static method
Get the browser version info including channel name if it is not the WebView2 Runtime.
Channel names are Beta, Dev, and Canary.
If an override exists for the browserExecutableFolder or the channel preference, the override is used.
If an override is not specified, then the parameter value passed to getAvailableVersion is used.
Returns null
if it fails to find an installed WebView2 runtime or non-stable Microsoft Edge installation.
Officially Supported Platforms/Implementations:
Implementation
static Future<String?> getAvailableVersion(
{String? browserExecutableFolder}) =>
PlatformWebViewEnvironment.static().getAvailableVersion(
browserExecutableFolder: browserExecutableFolder);