BROWSER_PROCESS_EXITED property
final
Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED)
Implementation
static final BROWSER_PROCESS_EXITED =
ProcessFailedKind._internalMultiPlatform('BROWSER_PROCESS_EXITED', () {
switch (defaultTargetPlatform) {
case TargetPlatform.windows:
return 0;
default:
break;
}
return null;
});