Home > Back-end >  The method pickImage isn't defined for the class
The method pickImage isn't defined for the class

Time:12-15

Error: The method 'pickImage' isn't defined for the class 'ImagePicker'. How do you solve this problem, please? enter image description here

CodePudding user response:

Either you are using the old version of Image_picker or you have a name conflict. Make sure to neither name your files image_picker.dart or name your class ImagePicker.

  • Related