share_plus_dialog 1.1.1 copy "share_plus_dialog: ^1.1.1" to clipboard
share_plus_dialog: ^1.1.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 #

pub package

This package extends the share_plus experience on the desktop and web, by opening a dialog to select
a web platform to send to.

Screeshot Screenshot 2

Features #

Supported sharing platform:

  • Email

  • Telegram

  • Whatsapp

  • Reddit

    Pull request adding more are very welcome.

Getting started #

Install the package as a dependency using pub or git.

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, 'https://pub.dev/', platforms:  SharePlatform.defaults, isUrl: true);

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.

Additional information #

If you want to contribute a platform, setup a static SharePlatform getter inside the class and then add it to the defaults list getter.

6
likes
120
points
566
downloads

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)

Documentation

API reference

License

unknown (license)

Dependencies

dynamic_color, flutter, share_plus, url_launcher

More

Packages that depend on share_plus_dialog