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.
To use the plugin, add image_share
as a
dependency in your pubspec.yaml file.
Add an NSPhotoLibraryAddUsageDescription
key to the
Info.plist
file.
No configuration to do.
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>);