open_share_plus
4.0.0, released 6 months ago by datadirr.com
Flutter plugin to share content via email, phone, WhatsApp, browser and system share UI.
What it does
Provides simple methods to open the system share sheet, launch email, phone dialer, WhatsApp chat and browser URLs. Uses url_launcher and open_filex under the hood for platform-specific handling.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need to let users share a link or text via native share dialog
- Want to open email, phone or WhatsApp from the app
Skip it when
- Require advanced sharing features like multiple file attachments or custom share sheets
- Need fine‑grained control over share intents beyond basic URLs
Strengths
- Very easy to use API
- Works on Android, iOS, web, Windows, macOS, Linux
- Leverages well‑tested url_launcher and open_filex
Weaknesses
- Limited to basic share actions
- No code‑generation or declarative API
- Relies on other packages for file handling
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Add the dependency, ensure Android manifest and iOS Info.plist have required permissions for intents and URL schemes if needed
Open.browser(url: "https://example.com");\nOpen.phone(phoneNumber: "+1234567890");\nOpen.mail(toAddress: "test@example.com", subject: "Hello", body: "World");\nOpen.whatsApp(whatsAppNumber: "1234567890", text: "Hi");Alternatives
Packages that do the same job and could replace open_share_plus.
- share_plus
Provides a more feature‑rich share sheet with file support and broader community adoption
92Compare
Works with
Packages commonly used together with open_share_plus: ones it builds on, ones built on it, and its own family.
- webopen_share_plus depends on itLightweight bindings for browser APIs via JS interop
- plugin_platform_interfaceopen_share_plus depends on itReusable base class for platform interfaces of Flutter federated plugins.
- url_launcheropen_share_plus depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- open_filexopen_share_plus depends on itPlugin to open files via native apps, returning a string result