Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

212
Vistas
Sending parametrs for local html file in flutter webView

I'm trying to send url parameters to local html file in flutters webview, I was able to successfully read the parameters while using the chrome browser but cannot do it through webview. In the html file I'm using 'windows.location.search' to read 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());
}

If this is not a viable solution I would settle for anyother solution. Thanks!

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda