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