scanbot_image_picker 1.0.0-beta2 scanbot_image_picker: ^1.0.0-beta2 copied to clipboard
Simple Image Picker with single and multiple selection capability.
Scanbot Image Picker for Flutter #
A simple plugin that implements a very straightforward Image Picker for iOS and Android. It uses the Flutter ImagePicker library for both iOS and Android. Also uses the native iOS library GMImagePickerWithCloudMediaDownloading
for iOS versions below 14 for picking multiple images:
Installation #
dependencies
scanbot_image_picker: ^1.0.0
Usage #
// Single Image
Future<Uri> uri = await ScanbotImagePickerFlutter.pickImageAsync();
// Multiple Images
Future<List<Uri>> uris = await ScanbotImagePickerFlutter.pickImagesAsync();
Import Module #
import 'package:scanbot_image_picker/scanbot_image_picker_flutter.dart';
Picking images #
Opens the native image picker, and returns the selected image file URIs.
Example
// Single Image
Future<Uri> uri = await ScanbotImagePickerFlutter.pickImageAsync();
// Multiple Images
Future<List<Uri>> uris = await ScanbotImagePickerFlutter.pickImagesAsync();
for (var uri in uris) {
print(uri.path);
}
Contributing #
Contributions in the form of issues, pull requests and suggestions are very welcome.
Disclaimer #
This package is still in beta and should be used with that in mind.