-
Notifications
You must be signed in to change notification settings - Fork 939
Closed
Description
Hello, I'm trying to do something with the webview if a time out error occurs, however, the event is not triggered when the time out happens on my device.
StreamSubscription _onDestroy;
StreamSubscription<String> _onUrlChanged;
StreamSubscription<WebViewStateChanged> _onStateChanged; StreamSubscription<WebViewHttpError> _onHttpError;
...
@override
void initState() {
super.initState();
...
_onHttpError = _flutterWebviewPlugin.onHttpError.listen((WebViewHttpError error) {
// TODO: implement
print(error.code);
});
}
uisuru, scofield-hello and bhjSky