Skip to content

Flutter plugin that allows you to display multi image picker on iOS and Android. πŸ‘ŒπŸ”πŸŽ‰

License

Notifications You must be signed in to change notification settings

matrixdekoder/multi_image_picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

Flutter plugin that allows you to display multi image picker on iOS and Android. πŸ‘ŒπŸ”πŸŽ‰

Resources

License

Stars

Watchers

Forks

Packages

No packages published