image_share 0.1.0+4

Flutter Android iOS

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>);
2
likes
80
pub points
70%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jon.mly@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on image_share