open_share_plus 1.2.0 copy "open_share_plus: ^1.2.0" to clipboard
open_share_plus: ^1.2.0 copied to clipboard

Flutter Plugin for sharing contents to social media.You can use it share to Mail, Phone, WhatsApp And System Share UI.

open_share_plus #

Flutter Plugin for sharing contents to social media.You can use it share to Mail, WhatsApp And System Share UI

Using #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.

Installation #

First, add open_share_plus as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:

dependencies:
  ...
  open_share_plus:

For help getting started with Flutter, view the online documentation.

Setup Configuration #

  • Please check if use open localFile {support iOS(DocumentInteraction) / android(intent) / PC(ffi) / web(dart:html)} open_filex.
  • Please check if use open browser, phone, mail and whatsapp url_launcher.

Example #

Please follow this example here.

Browser #

Open.browser(url: "https://datadirr.com")

Phone Dial #

Open.phone(phoneNumber: "+919726428397")

Mail #

Open.mail(toAddress: "datadirr@gmail.com", subject: "datadirr", body: "datadirr dev")

WhatsApp (whatsAppNumber with country code) #

Open.whatsApp(whatsAppNumber: "919726428397", text: "datadirr")

Local File (Only ANDROID, IOS) #

Open.localFile(filePath: localFilePath)
20
likes
140
pub points
83%
popularity

Publisher

verified publisherdatadirr.com

Flutter Plugin for sharing contents to social media.You can use it share to Mail, Phone, WhatsApp And System Share UI.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_web_plugins, open_filex, plugin_platform_interface, url_launcher

More

Packages that depend on open_share_plus