Flutter webview_flutter 加载HTML文本/本地文件
Uri uri =new Uri.dataFromString(“HTML文本”, mimeType:'text/html', encoding: Encoding.getByName('utf-8'));
_controler.loadUrl(uri.toString());
Uri uri =new Uri.dataFromString(“HTML文本”, mimeType:'text/html', encoding: Encoding.getByName('utf-8'));
_controler.loadUrl(uri.toString());
本文标题:Flutter webview_flutter 加载HTML文本
本文链接:https://www.haomeiwen.com/subject/xxorictx.html
网友评论