evaluateJavascript method
Implementation
void evaluateJavascript(String script) async {
if (_onPageFinishedCompleter.isCompleted) {
_webviewController?.evaluateJavascript(source: script);
} else {
await _onPageFinishedCompleter.future.then((_) => _webviewController?.evaluateJavascript(source: script) ?? '');
}
}