89 questions
1
vote
1
answer
100
views
How to save images to the phone gallery on an IOS Device in flutter?
'I am using the saver_gallery package of Flutter to save images into my phone gallery on both IOS and android. I am using the image_picker package to take the image using camera. When I save the image ...
0
votes
1
answer
98
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 = ...
2
votes
2
answers
68
views
Flutter can't debug in chrome
When I try to debug in chrome web it appears like this:
`/C:/Users/Lenovo/AppData/Local/Pub/Cache/hosted/pub.dev/image_picker_platform_interface-2.9.2/lib/src/types/picked_file/html.dart:30:38: Error: ...
1
vote
1
answer
32
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
...
6
votes
1
answer
799
views
Flutter image picker freezes on iOS 18 simulator [closed]
I'm using Flutter to build a mobile app and I'm encountering a serious issue on iOS 18 simulators when trying to pick an image from the gallery.
After the app launches and I open the image picker (...
0
votes
1
answer
106
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
0
answers
61
views
Cannot solve for Xcode being unable to find image_picker_ios in Flutter app
I have been unable to solve for this error despite following all the suggestions on other similar stackoverflow questions. I am using image_picker: ^1.1.2, iOS 13 and Xcode 16. When I try to run my ...
0
votes
1
answer
451
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 ...
0
votes
0
answers
260
views
Flutter ImagePicker Not able to run or build project when I add it to pubspec.yaml
When I add the Image picker library to my project it start giving following issue when ever I try to build/run the project.
My pubspec.yaml file
name: splitwise_flutter
description: "A new ...
-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
1
answer
449
views
Unable to upload image file to Firebase Storage - Flutter
I'm building a simple system to let the user upload their profile picture into their account. When they click on the widget it runs this function:
XFile? xFileImage;
File? image;
Future pickImage() ...
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 ...
0
votes
1
answer
134
views
How to fix the image picker failing on first try
I have an image picker in my application which works fine most of the time, expect in the first try on iOS.
The first time you click it, it shows the permission popup, then it gives me this error
[...
1
vote
2
answers
385
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.
...
1
vote
0
answers
39
views
How to edit the image expansion screen of image_picker package in Flutter?
I want to edit the image expansion screen like Zalo image expansion screen of Zalo (I use image_picker package) but I don't find out the code for that screen in image_picker lib. I want to find out ...