large Flutter Favorite logosmall Flutter Favorite logo

share_plus 7.1.0 icon indicating copy to clipboard operation
share_plus: ^7.1.0 copied to clipboard

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add share_plus

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  share_plus: ^7.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:share_plus/share_plus.dart';
2511
likes
140
pub points
100%
popularity

Publisher

verified publisher iconfluttercommunity.dev

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

cross_file, ffi, file, flutter, flutter_web_plugins, meta, mime, share_plus_platform_interface, url_launcher_linux, url_launcher_platform_interface, url_launcher_web, url_launcher_windows, win32

More

Packages that depend on share_plus