How to load complete website from assets?
问题 Is there any possibility to load complete website (including associated files) from local assets ? I tried it with flutter plugin webview_flutter and loaded index.html. Future<String> loadLocal() async { return await rootBundle.loadString('assets/mywebsite/index.html'); } only html code is being rendered and associated javascripts are not working. 回答1: You can follow https://github.com/flutter/flutter/issues/27086 In the meantime you can implement a web server in Dart that serves files from