share_plus_dialog 2.0.1 copy "share_plus_dialog: ^2.0.1" to clipboard
share_plus_dialog: ^2.0.1 copied to clipboard

A package that improves sharing on desktop and web from the share_plus plugin with a sharing dialog

Share Plus Dialog #

GitHub stars Package: share_plus_dialog Language: Dart License: MIT

A Flutter package that wraps share_plus to create sharing dialogs when share_plus is not available.

Screeshot

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

Usage #

Import the library.

import 'package:share_plus_dialog/share_plus_dialog.dart';

Then invoke the static share method anywhere in your Dart code.

ShareDialog.share(context, body: 'https://pub.dev/', platforms:  SharePlatform.defaults);

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.

6
likes
150
points
566
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A package that improves sharing on desktop and web from the share_plus plugin with a sharing dialog

Repository (GitHub)

Topics

#share #sharing #dialog #material

Documentation

API reference

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

unknown (license)

Dependencies

flutter, share_plus, url_launcher

More

Packages that depend on share_plus_dialog