onRenderProcessGone property

(void Function(InAppWebViewController controller, RenderProcessGoneDetail detail)?) onRenderProcessGone
final

Event fired when the given WebView's render process has exited. The application's implementation of this callback should only attempt to clean up the WebView. The WebView should be removed from the view hierarchy, all references to it should be cleaned up.

detail the reason why it exited.

NOTE: available only on Android 26+.

Supported Platforms/Implementations:

Implementation

final void Function(
        InAppWebViewController controller, RenderProcessGoneDetail detail)?
    onRenderProcessGone;