Estoy tratando de enviar parámetros de URL al archivo html local en flutters webview, pude leer con éxito los parámetros mientras usaba el navegador Chrome pero no puedo hacerlo a través de webview. En el archivo html estoy usando 'windows.location.search' para leer urlParams.
_loadHtmlFromAssets() async { //attach parameters to filePathurl filePath = "assets/htmls/extreme_windspeed.html"; String fileHtmlContents = await rootBundle.loadString(filePath); _webViewController.loadUrl(Uri.dataFromString(fileHtmlContents, parameters: {"p": "RAINFALL"}, //I want to read this parameter mimeType: 'text/html', encoding: Encoding.getByName('utf-8')) .toString()); }Si esta no es una solución viable, me conformaría con cualquier otra solución. ¡Gracias!