image_share 0.1.0 copy "image_share: ^0.1.0" to clipboard
image_share: ^0.1.0 copied to clipboard

outdated

A plugin to share an image using the system actions from your Flutter app.

image_share #

A plugin to share an image from your Flutter app via the platform's share dialog.

Wraps the ACTION_SEND Intent on Android and UIActivityViewController on iOS.

Usage #

To use the plugin, add image_share as a dependency in your pubspec.yaml file.

On iOS

Add an NSPhotoLibraryAddUsageDescription key to the Info.plist file.

On Android

No configuration to do.

Example #

Import the library via

import 'package:image_share/image_share.dart';

Then invoke the shareFile method anywhere in your Dart code to share a file given its path :

ImageShare.shareFile(<PATH OF YOUR FILE>);
5
likes
0
pub points
7%
popularity

Publisher

unverified uploader

A plugin to share an image using the system actions from your Flutter app.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on image_share