MOST_STABLE property

EnvironmentChannelSearchKind MOST_STABLE
final

Search for a release channel from most to least stable: WebView2 Runtime -> Beta -> Dev -> Canary. This is the default behavior.

Officially Supported Platforms/Implementations:

  • Windows WebView2

Implementation

static final MOST_STABLE =
    EnvironmentChannelSearchKind._internalMultiPlatform(0, () {
      switch (defaultTargetPlatform) {
        case TargetPlatform.windows:
          return 0;
        default:
          break;
      }
      return null;
    });