Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
颤振Web:将dart:io文件转换为dart:html文件_Dart_Dart Html_Dart Io - Fatal编程技术网

颤振Web:将dart:io文件转换为dart:html文件

颤振Web:将dart:io文件转换为dart:html文件,dart,dart-html,dart-io,Dart,Dart Html,Dart Io,有没有办法将dart:io文件对象转换为dart:html文件?我尝试了html.File File=dartFile作为html.File,但它不起作用否。这两个文件对象完全不相关 我不知道有哪个平台同时拥有dart:io和dart:html库,因此即使能够在同一个程序中导入这两个库也令人惊讶

有没有办法将dart:io文件对象转换为dart:html文件?我尝试了
html.File File=dartFile作为html.File
,但它不起作用

否。这两个文件对象完全不相关

我不知道有哪个平台同时拥有
dart:io
dart:html
库,因此即使能够在同一个程序中导入这两个库也令人惊讶