Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 2.17 KB

README.md

File metadata and controls

73 lines (42 loc) · 2.17 KB

multi_image_picker

Flutter plugin that allows you to display multi image picker on iOS and Android.

iOS

For the iOS picker the plugin uses BSImagePicker

Android

For the Android picker the plugin uses Matisse

Usage

First you need to add the plugin to your project.

iOS

You need to add those strings to your Info.plist file in order the plugin to work:

<key>NSPhotoLibraryUsageDescription</key>
<string>Example usage description</string>
<key>NSCameraUsageDescription</key>
<string>Example usage description</string>

Android

You need to request those permissions in AndroidManifest.xml in order the plugin to work:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

For example code usage, please see here

Theming and localization

You can customize different parts of the gallery picker. For reference see below the available options for the different platforms:

Customization on Android

Customization on iOS

API

pickImages(maxImages: int)

maxImages

Type: int

Maximum allowed images to be selected.

TODO

  • Add support for more plugin specific options for iOS and Android, that allows more customization
  • Improve docs
  • Allow choosing videos

Related

License

MIT © Radoslav Vitanov