multi_crop_picker 0.0.7 multi_crop_picker: ^0.0.7 copied to clipboard
instagrammable multi crop picker. this package do multiple image select, with ratio, length, grid(crossAxisCount), etc args. (crop featrue based on xclud/flutter_crop, gallery feture based on CaiJingL [...]
Features #
select & crop single or multiple image from gallery.
Getting started #
you should handle photo permission before use package.
Android #
android/app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
iOS #
ios/Info.plist:
<key>NSPhotoLibraryUsageDescription</key>
<string>photo permission required.</string>
Usage #
List<Uint8List>? res = await MultiCropPicker.selectMedia(
context,
maxLength: 3,
previewHeight: MediaQuery.of(context).size.width
aspectRatio: 1);
Additional information #
At first, there were no plans to deploy, maybe so there are many shortcomings. if anyone ever uses it, please give me feedback and ratings. (crop featrue based on xclud/flutter_crop, gallery feture based on CaiJingLong/flutter_photo_manager)