FLUTTER ECOSYSTEM

datadirr/open_share_plus

用於將內容分享至社群媒體的 Flutter 插件。您可以使用它分享至郵件、電話、WhatsApp 和系統共享介面。

open_share_plus 專案封面
Stars
0
Forks
0
最近推送(UTC)
2026年5月23日
專案狀態
未封存
datadirr GitHub avatar
GITHUB User

datadirr ↗

Internet Company

@datadirrIndia官方網站 ↗
語言C++CMakeDartSwiftRubyCKotlinHTMLObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 8 項
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • web^1.1.1
  • plugin_platform_interface^2.1.8
  • url_launcher^6.3.2
  • open_filex^4.7.0
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^6.0.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

https://datadirr.com/datadirr.png

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)