A Flutter plugin to share content from your Flutter app via the platform's share dialog.
Wraps the ACTION_SEND Intent on Android and UIActivityViewController on iOS.
To use this plugin, add
share as a dependency in your pubspec.yaml file.
Import the library via
Then invoke the static
share method anywhere in your Dart code
Share.share('check out my website https://example.com');
sharemethod inside a
Demonstrates how to use the share plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: share: ^0.6.1
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.6.1||Apr 8, 2019|
|0.6.0+1||Feb 8, 2019|
|0.6.0||Jan 24, 2019|
|0.5.3||Aug 21, 2018|
|0.5.2||Jun 11, 2018|
|0.5.1||Jun 1, 2018|
|0.5.0||May 22, 2018|
|0.4.0||Mar 9, 2018|
|0.3.2||Feb 28, 2018|
|0.3.1||Jan 12, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Apr 17, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.