I want to add multiple headers in my controller.LoadRequest in flutter
_controller.loadRequest(
Uri.dataFromString(fileHtmlContents,mimeType: 'text/html', encoding: Encoding.getByName('utf-8')),
headers: {
"name":"xxxx",
"value":"xxxxx",
"name":"yyyy",//I WANT TO ADD 2 HEADERS İN HERE
"value":"yyyy"//
}
);
first header gets name and value and second header gets same but it didnt works
please help ı dont know what can ı do
Looking at the documentation for webview_flutter:
I am assuming that this is your use case (you did not provide all of the details).