I want to render a local HTML file stored in my phone memory in webview using flutter and dart.
Use webviewPlus---->
dependencies:
webview_flutter_plus: ^0.1.1+10
add traffic on android >> app >> src >> main >> AndroidManifest.xml
Take these permission also on this Manifest file -------->
update ios info.plist----->
location-----------------> ios/Runner/Info.plist
NSAppTransportSecurity
NSAllowsArbitraryLoads
io.flutter.embedded_views_preview
Code like this
WebViewPlus(
javascriptMode: JavascriptMode.unrestricted,
onWebViewCreated: (controller) {
controller.loadString(r"""
hello world
""");
},
)