I have this on my webView...
Widget myPlayer(String url) {
print('WebView con: $url');
return new InAppWebView(
initialUrl: url,
initialHeaders: {},
initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
debuggingEnabled: true,
),
),
onWebViewCreated: (InAppWebViewController controller) {
webView = controller;
},
onLoadStart: (InAppWebViewController controller, String url) {
status = false;
},
onLoadStop: (InAppWebViewController controller, String url) {
status = true;
},
onWindowFocus: (controller) => {
},
);
}
But when the widget loads, the page that I see is the "previous" one, no the String url...
Also, I can see someting like this on console
W/ContentCatcher(30360): Failed to notify a WebView
W/System (30360): A resource failed to call release.
D/ (30360): PlayerBase::PlayerBase()
D/ (30360): TrackPlayerBase::TrackPlayerBase()
