+
Skip to content

matrixdekoder/multi_image_picker

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载