Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!