Search packages, repositories and app categories

Package detailsv4.0.0

open_share_plus

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
538
Likes
24
Pub points
160

Install package

flutter pub add open_share_plus

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

open_share_plus is a Flutter plugin that enables seamless sharing of content across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. It supports sharing to various apps such as Mail, Phone, WhatsApp, and the system's default share UI. Designed for simplicity and broad compatibility, it allows developers to integrate native sharing functionality with minimal setup. The plugin leverages platform-specific APIs to ensure consistent behavior across devices.

Use cases

  • Sharing text or links via WhatsApp
  • Sending emails from within an app
  • Integrating system share dialogs on mobile and desktop
  • Enabling quick content sharing in social apps
  • Providing universal sharing options in cross-platform apps

Key features

  • Supports multiple platforms including web and desktop
  • Native integration with WhatsApp, Mail, and Phone
  • Simple API for sharing text, URLs, and files
  • Uses system share UI for consistent user experience
  • Cross-platform compatibility with minimal configuration

Suitable for

  • Apps needing multi-platform sharing
  • Social media integrations
  • Email and messaging features
  • User-facing content sharing tools
  • Developers seeking easy-to-use sharing solutions

Considerations

  • Requires platform-specific permissions on some systems
  • Limited customization of share sheet UI
  • Depends on external apps being installed (e.g., WhatsApp)
  • May behave differently across OS versions
  • File sharing requires proper file path handling on each platform

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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: "919876543210", text: "datadirr")
Local File (Only ANDROID, IOS)
Open.localFile(filePath: localFilePath)

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.