https://github.com/mindinventory/image-collage-widget
Widget to create collages
https://github.com/mindinventory/image-collage-widget
collage easy-to-use flutter flutter-package flutter-widget
Last synced: 7 months ago
JSON representation
Widget to create collages
- Host: GitHub
- URL: https://github.com/mindinventory/image-collage-widget
- Owner: Mindinventory
- License: mit
- Created: 2019-04-10T11:52:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-24T09:45:29.000Z (about 1 year ago)
- Last Synced: 2025-04-10T06:08:33.107Z (7 months ago)
- Topics: collage, easy-to-use, flutter, flutter-package, flutter-widget
- Language: Dart
- Homepage: https://www.mindinventory.com/flutter-app-development.php
- Size: 646 KB
- Stars: 48
- Watchers: 8
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# image_collage_widget
A flutter package for creating photo collages in your applications.
## Key Features
* Create 11 different type of collages.
* Start with or without images from gallery preloaded (Only for Android).
* Allow user to add or remove photo into collage.
* User can update images from gallery/camera.
* Don't worry about `permissions`, we handled it.
## Preview
  
## Usage
* Step 1:- To use this package, add `image_collage_widget ` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
```yaml
dependencies:
...
image_collage_widget: ^1.0.6
```
* Step 2:- Prepare AndroidManifest.xml
```
```
* Step 3:- Prepare Info.plist
```
NSPhotoLibraryUsageDescription
Need to access photo library
NSCameraUsageDescription
To upload your picture
```
* 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(),
),
```
### Dependencies
* [flutter_staggered_grid_view](https://pub.dev/packages/flutter_staggered_grid_view): ^0.7.0
* [flutter_bloc](https://pub.dev/packages/flutter_bloc): ^8.1.6
* [file_manager](https://pub.dev/packages/file_manager): ^1.0.2
* [file_picker](https://pub.dev/packages/file_picker): ^8.1.2
* [permission_handler](https://pub.dev/packages/permission_handler): ^11.3.1
* [image_picker](https://pub.dev/packages/image_picker): ^1.1.2
* [equatable](https://pub.dev/packages/equatable): ^2.0.5
* [device_info_plus](https://pub.dev/packages/device_info_plus): ^10.1.2
## Guideline for contributors
* Contribution towards our repository is always welcome, we request contributors to create a pull
request for development.
## Guideline to report an issue/feature request
It would be great for us if the reporter can share the below things to understand the root cause of
the issue.
* Library version
* Code snippet
* Logs if applicable
* Device specification like (Manufacturer, OS version, etc)
* Screenshot/video with steps to reproduce the issue
* Library used
## LICENSE!
**image_collage_widget** is [MIT-licensed.](https://github.com/Mindinventory/image-collage-widget/blob/master/LICENSE)
## Let us know!
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.](https://www.mindinventory.com)
Let us know if you are interested to building Apps or Designing Products.