scanbot_image_picker 1.0.1 copy "scanbot_image_picker: ^1.0.1" to clipboard
scanbot_image_picker: ^1.0.1 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 a custom native code for iOS versions below 14 for picking multiple images:

Installation #

dependencies
  scanbot_image_picker: ^1.0.0

Usage #

  // Single Image
  Future<ImagePickerResponse> response = await ScanbotImagePickerFlutter.pickImageAsync();

  // Multiple Images
  Future<ImagePickerResponse> response = 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<ImagePickerResponse> response = await ScanbotImagePickerFlutter.pickImageAsync();
  print(response.uri.path);
    
  // Multiple Images
  Future<ImagePickerResponse> response = await ScanbotImagePickerFlutter.pickImagesAsync();
  
    for (var uri in response.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.

License #

MIT

3
likes
110
pub points
81%
popularity

Publisher

verified publisherscanbot.io

Simple Image Picker with single and multiple selection capability.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image_picker

More

Packages that depend on scanbot_image_picker