closeOffscreenWebView method
Releases a controller owned by an offscreen session.
This lifecycle hook is for the app-facing offscreen-session abstraction; it does not define the lifetime of controllers attached to widgets.
Implementation
@override
Future<void> closeOffscreenWebView() {
return _offscreenCloseFuture ??= _closeOffscreenWebView();
}