Kxmrg / flutter_getx_scaffold

Rapid development of scaffolding based on getx
https://pub.dev/packages/getx_scaffold
MIT License
104 stars 13 forks source link

extended_image_library和dart:io的File冲突(附解决方案) #1

Open caoyang131 opened 3 months ago

caoyang131 commented 3 months ago

编译到WEB平台,lib/common/widgets/image_x.dart有报错

提示extended_image_library和dart:io的File冲突

查询github相关内容后,将

import 'dart:io';

改为

import 'package:extended_image_library/extended_image_library.dart' show File;

解决

Kxmrg commented 3 months ago

当前版本只做了Android和IOS版本的测试,桌面端和WEB都没有做适配,感谢反馈!