引入包 image_picker_web: ^4.0.0
extended_image: ^9.1.0
 
 // 选择本地多个文件
 List<Uint8List>? items = await ImagePickerWeb.getMultiImagesAsBytes();
 
 //显示图片
 
 ExtendedImage(
            image: MemoryImage(imageData),
            width: 200,
            fit: BoxFit.cover,
          )
 
 

标签: none