Home > database >  Reading metadata in Flutter's webview
Reading metadata in Flutter's webview

Time:11-27

I'm using webview_flutter in a Flutter's app. I need to know the language of the page opened in that webview, maybe reading the "lang=en-us" tag. How can I do that? Any suggestion? Thanks in advanced.

CodePudding user response:

Yeah you can read the lang attribute. You can do this by getting the html content itself. This answer might help - answer

  • Related