onRenderProcessGone property

(void Function(T 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+.

Officially Supported Platforms/Implementations:

Implementation

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