FAILED property

BrowserProcessExitKind FAILED
final

Indicates that the browser process ended unexpectedly. A PlatformWebViewCreationParams.onProcessFailed event will also be raised to listening WebViews from the PlatformWebViewEnvironment associated to the failed process.

Officially Supported Platforms/Implementations:

  • Windows WebView2

Implementation

static final FAILED = BrowserProcessExitKind._internalMultiPlatform(1, () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.windows:
      return 1;
    default:
      break;
  }
  return null;
});