Last updated:
0 purchases
share plus dialog
Share Plus Dialog #
A Flutter package that wraps share_plus to create sharing dialogs when share_plus is not available.
Features #
Supported sharing platform:
Email
Telegram
Whatsapp
Reddit
Facebook
X (Twitter)
Pull request adding more are very welcome.
Installation #
To use this package, add share_plus_dialog as a dependency using:
flutter pub add share_plus_dialog
copied to clipboard
Usage #
Import the library.
import 'package:share_plus_dialog/share_plus_dialog.dart';
copied to clipboard
Then invoke the static share method anywhere in your Dart code.
ShareDialog.share(context, body: 'https://pub.dev/', platforms: SharePlatform.defaults);
copied to clipboard
On desktop platforms and web it will open a dialog to choose where to share. On mobile platforms it keeps the functionality from the share_plus plugin.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.