flutter_images_picker

Last updated:

0 purchases

flutter_images_picker Image
flutter_images_picker Images
Add to Cart

Description:

flutter images picker

Images Picker plugin for Flutter #

A Flutter plugin for iOS and Android for picking images from the image library,
and taking new pictures with the camera.
Installation #
First, add flutter_images_picker as a dependency in your pubspec.yaml file.
iOS #
This plugin requires iOS 9.0 or higher.
Starting with version 0.1.0 the iOS implementation uses ImagePicker to pick (multiple) images on iOS 14 or higher.
Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
NSMicrophoneUsageDescription - describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor.

Android #
Starting with version 0.1.0 the Android implementation support to pick (multiple) images on Android 4.3 or higher.
No configuration required - the plugin should work out of the box.
It is no longer required to add android:requestLegacyExternalStorage="true" as an attribute to the <application> tag in AndroidManifest.xml, as image_picker has been updated to make use of scoped storage.
Note: Images and videos picked using the camera are saved to your application's local cache, and should therefore be expected to only be around temporarily.
If you require your picked image to be stored permanently, it is your responsibility to move it to a more permanent location.
Basic usage #
void takeImage(BuildContext context) async {
List<File?> images = await FlutterImagesPicker.pickImages(maxImages: 5);
Navigator.of(context).pop();
}
copied to clipboard
License #
The Flutter images picker project is available for free use, as described by the LICENSE (GNUv3).

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.