📜  如何将pickfile转换为flutter中的文件-无论代码示例

📅  最后修改于: 2022-03-11 14:54:57.333000             🧑  作者: Mango

代码示例1
storedImage = File(imageFile.path); //imagefile is of type pickedfile /* imagefile = picker.getImage() */
                                    //File is available after imporing dart:io library
                                    //to use 'path' you might want to add 'path' plugin from pub.dev