To use this plugin, add
share_plus as a dependency in your pubspec.yaml file.
Import the library.
Then invoke the static
share method anywhere in your Dart code.
share method also takes an optional
subject that will be used when
sharing to email.
To share one or multiple files invoke the static
shareFiles method anywhere in your Dart code. Optionally you can also pass in
If you are interested in the action your user performed with the share sheet, you can instead use the