flutter_share_plugin 0.0.2 copy "flutter_share_plugin: ^0.0.2" to clipboard
flutter_share_plugin: ^0.0.2 copied to clipboard

discontinuedreplaced by: share_plus
outdated

A new flutter plugin project.

flutter_share_plugin #

This plugin helps sharing content like, text, image or a file to other apps. It supports both Android and iOS, no additional changes are required in native code or projects (Except ofcourse the Storage Access permissions, you'll need to add that in your project manually).

Just install this plugin and use it as required.

Installation: #

add following line in your project's pubspec.yaml file

flutter_share_plugin: ^0.0.1

Usage Examples: #

Share only text: #

FlutterShare.shareText("Text to be shared");

Share only file: #

String filePath = "../song.mp3";
FlutterShare.shareFile(filePath);

Share file and text content: (text will be used only in case shared with email or chat app and will be set as body text ) #

String filePath = "../screenshot_123.jpg";
FlutterShare.shareFileWithText(textContent: "Screenshot attached", filePath: filePath);
6
likes
0
pub points
45%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on flutter_share_plugin