v1.1.0image_collage_widget
一个 Flutter 包,可让您创建 11 种不同类型的现代照片拼贴,支持从相册中选择图片或使用相机拍摄新照片。
用于创建拼贴画的 Widget
以下为英文项目原文快照,最新内容请访问 GitHub。
A flutter package for creating photo collages in your applications.
permissions, we handled it.

Step 1:- To use this package, add image_collage_widget as a dependency in your pubspec.yaml file.
dependencies:
...
image_collage_widget: ^1.0.6
Step 2:- Prepare AndroidManifest.xml
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-feature android:name="android.hardware.camera" />
<!-- Devices running Android 13 (API level 33) or higher -->
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!-- To handle the reselection within the app on devices running Android 14
or higher if your app targets Android 14 (API level 34) or higher. -->
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
Step 3:- Prepare Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Need to access photo library</string>
<key>NSCameraUsageDescription</key>
<string>To upload your picture</string>
Step 4:- Add ImageCollageWidget in your dart file
import 'package:image_collage_widget/image_collage_widget.dart';
import 'package:image_collage_widget/utils/collage_type.dart';
...
/// @param withImage:- If withImage = true, It will load image from given {filePath (default = "Camera")}
/// @param collageType:- CollageType.CenterBig
child: ImageCollageWidget(
collageType: widget.collageType,
withImage: true,
filePath: _directory?.path?.toString(),
),
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
image_collage_widget is MIT-licensed.
We’d be really happy if you send us links to your projects where you use our open-source libraries. Just send an email to [sales@mindinventory.com](mailto:sales@mindinventory.com) And do let us know if you have any questions or suggestion regarding our work.
Visit our website mindinventory.com.
Let us know if you are interested to building Apps or Designing Products.
依赖清单 11 项
{"sdk":"flutter"}^0.7.0^8.1.6^1.0.2^8.1.2^11.3.1^1.1.2^2.0.5^10.1.2{"sdk":"flutter"}^4.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗