Relative Content

Tag Archive for flutterimagepicker

Flutter ImagePicker choose from gallery keep returns null

I’m using the ImagePIcker library in Flutter to retrieve image from user’s phone’s gallery. However the result of selection is always null. This only happens when I’m using ImageSource.gallery, it works fine on ImageSource.camera.

The ImagePIcker is not working in my Flutter app

I used image_picker package in my project. But it is not working. I picked an image, but the image is not showing in the container. There is no issue in the code, but after I picked an image, only Error message is printing. Pls look at my code and please guide me the right path that how I can solve. Below is my code from 2 separate files. I want the photo to be shown after picked an image.