90 questions
0
votes
1
answer
84
views
iOS Photos picker UI becomes unresponsive when opened from a Flutter dialog
I’m building a Flutter iOS app that allows users to select images using the image_picker package. However, when I tap the “Gallery” button to open the native Photos picker, the UI becomes completely ...
0
votes
1
answer
109
views
Flutter app crash using camera with ImagePicker
I have a main_screen with action button to open a camera. The code is below doing this
Future<void> _openCamera() async {
final picker = ImagePicker();
try {
final XFile? photo = ...
1
vote
1
answer
38
views
Why can't Android allow multiple image/video selections with the Flutter package image_picker?
The image_picker, has the following three methods to reference when wanting to make device XFile selections:
pickImage()
pickVideo()
pickMultiImage()
pickMultiMedia() <- this is the one i want
...
0
votes
1
answer
119
views
Image Picker "already_active" error and no response after selecting a photo or file
I'm using the image_picker package in my Flutter app to take photos and pick files. However, I'm facing two issues:
Camera Issue:
When taking a photo with the camera, the photo is taken, and I confirm ...
0
votes
1
answer
464
views
PHPickerViewController in Full Screen and Can't select Item on iOS 18
I'm using the image_picker package to select photo in my Flutter iOS app. It worked correctly, but it looks like the Screenshot. It can't be selected nor dismissed. This is my code:
final ...
-1
votes
2
answers
59
views
After adding(or uploading) images, can't view selected images in gallery
I want to deselect images if I selected more than 4 images, here i can't go back gallery
List<XFile?> imageFiles = await ImagePicker.platform.pickMultiImage();
if(imageFiles.length <= 4) {
...
1
vote
0
answers
68
views
ImagePicker onTap trigger makes use of 2 calls : OnPressed() and onTap(). Need to make it a single call
I have 2 Widget functions which while initiating onPressed() is supposed to show a imagepicker() using a CupertinoActionsheet with Actions to choose an image from Gallery/Camera.
The ...
1
vote
2
answers
395
views
Is there any way to overlay a image.png on the camera preview of Flutter Image_picker library to guide the user while capturing photo?
I am using Flutter image_picker library in this way to click images from camera. I want the camera screen to be overlapped by a png image which contains custom wire-frame for capture guidance.
...
0
votes
0
answers
254
views
Using set state from a dialog box with StatefulBuilder in flutter
I am trying to make a simple social media app and I am using a alert dialog for the user to add a new post. Im trying to update the alert dialog using statefulBuilder when I add an image but the image ...
0
votes
1
answer
154
views
Flutter Unhandled Exception: setState() called after dispose()
I know there are lot of questions mentioning the same issue. But none is helpful for me.
I have a valuelistable builder which listens to a boolean value . I have a image picker to pick image from ...
0
votes
0
answers
233
views
Flutter image_picker - pickImage(source: ImageSource.camera) crashes on ios 17+
When using ImagePicker().pickImage(source: ImageSource.camera) the app crashes. Tried the example provided on pub.dev for image_picker.
On an Android device, it works. On iOS 16 or below, it works.
...
1
vote
0
answers
384
views
Image_picker throws PlatformException(photo_access_denied, The user did not allow photo access., null, null) although permission is granted
I'm working on a Flutter project with version 1.22.6, and due to dependency constraints, upgrading to a later Flutter version is not an option. The project relies on image_picker version ^0.6.7+22 for ...
0
votes
1
answer
437
views
Flutter app is experiencing crashes on Android 13 and above when attempting to select an image using the image_picker
My Flutter app is experiencing crashes on Android 13 and above when attempting to select an image using the image_picker plugin. The application functions correctly on Android 12 and below. The error ...
2
votes
1
answer
113
views
Problem picking and previewing an image on iOS and Android
I am using the Flutter image_picker library to implement a feature where users can pick an image and upload them to a backend server. Once they click on choosing an image, a dialog box should ask them ...
0
votes
1
answer
205
views
Getting Error Unexpected null value when clicked on onTap function of Inkwell
I am getting following null value error when I try to click on Inkwell.
I don't know where I am getting the error and I am not able to fix this issue. I tried many things but nothing works.
Error:
====...
-1
votes
1
answer
1k
views
Image_picker camera causing app restart in Low memory device in Flutter
When I open camera using image_picker in low memory devices, my app restarts after coming back. How to prevent it from restarting?
Issue is same in release mode too.
The device I am using is Redmi 7A ...
2
votes
0
answers
774
views
Flutter image_picker returns different file name on every pick from gallery
I currently try to get images from the Gallery to my App and save them, if not already there, in a sub folder in the Gallery. On Android everything works fine, when checking against the file name, ...
1
vote
1
answer
696
views
How to save image in hive DB picked by user using ImagePicker?
As i implemented my own way to put image in hive but it did not work. I searched on internet but not found any sound solution. A complete code to implement it can be helpful. Any help will be ...
0
votes
1
answer
1k
views
Flutter Image Picker not working on android
I'm having a problem whenever I load an image on the Android Emulator/Physical Device, in iOS works fine.
These are the two main methods I'm using, they are in the class Photo Repository
void ...
1
vote
2
answers
707
views
How to request the user to access the storage of phone?
I try to code some gallery picker function from Youtube but I want to ask for permission for storage to user ,when I code below code, I get into the app info why I get there and how to fix it
import '...
0
votes
1
answer
746
views
Image picker in web doesn't work on deploy?
I have set up image picker and it works perfectly in localhost but not at all once deployed to web.
I've looked at the web implementation and I think I have done it as it says there but it still doesn'...
1
vote
1
answer
136
views
How can I display an image from Image_picker and dart:io?
I'm currently working on a program where the user would be able to select an image to analyze the text in the image and keep getting the following error while trying to get display the selected image ...
0
votes
1
answer
104
views
Pass user selected photo to other pages within the app - Flutter
I am new to Flutter and need some assistance. I am using the ImagePicker to allow the user to select the image they want to use for a specific event (on the "Add New Event Page"), however, ...
0
votes
2
answers
1k
views
Flutter image_picker package installation throws error "version solving failed."
I am trying to install Flutter package "image_picker". When I run flutter pub add image_picker I get the following error:
The current Dart SDK version is 3.0.1.
Because image_picker <0.7....
1
vote
0
answers
189
views
Flutter's image_picker package: How to override the default bottom menu bar colors on review photo screen?
I'm using Flutter imge_picker package, and it works well. But I'm unable to customize the bottom menu bar and text colors:
Screenshot here
Is there a way to customize that bottom black background, &...