Error: The method 'pickImage' isn't defined for the class 'ImagePicker'. How do you solve this problem, please?
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.