I have a requirement where I need to display HTML string in webview_flutter (https://pub.dev/packages/webview_flutter) Plugin. The issue is that the html contains some urls that are not loaded because they require authorization token in header. I am using the method post controller.postRequest(HTMLString,headers: {"authToken": "value"}) but it is not working as in my understanding it is only passing header for the single request. I would really appreciate any help in resolving this.
here is the example html:
<p style=\"margin: 0px\">Hi Team,<br /></p>
<p style=\"margin: 0px\"> <br /></p>
<p style=\"margin: 0px\">Kindly create new Subcategory as TNA360 under
Systems<span class=\"font\" style=\"font-family: Wingdings\">à</span> Business Application.<br /></p>
<p style=\"margin: 0px\">
<img width=\"11.2333in\" height=\"3in\" style=\"width: 11.2333in; height: 3in\" id=\"Picture_x0020_4\" src=\"url of the image\" />