Flutter 如何在Flatter中获取设备照片库中所有图像的矢量?

Flutter 如何在Flatter中获取设备照片库中所有图像的矢量?,flutter,camera-roll,Flutter,Camera Roll,我想发送所有的图像,或者可能只发送前一千张图像,或者可能通过日期从相机卷过滤到服务器。 如果我有文件对象,我可以执行以下操作: String base64Image = base64Encode(file.readAsBytesSync()); String fileName = file.path.split("/").last; http.post(phpEndPoint, body: { "image": base64I

我想发送所有的图像,或者可能只发送前一千张图像,或者可能通过日期从相机卷过滤到服务器。 如果我有文件对象,我可以执行以下操作:

   String base64Image = base64Encode(file.readAsBytesSync());
   String fileName = file.path.split("/").last;

   http.post(phpEndPoint, body: {
     "image": base64Image,
     "name": fileName,
   }).then((res) {
     print(res.statusCode);
   }).catchError((err) {
     print(err);
   });
但是,如何从摄影机卷中获取所有文件对象