social_share
2.3.1, released 4 years ago by an unverified publisher
Share content directly to specific social apps or via native share sheets.
What it does
Provides methods to share text, links, and images directly to well-known social media applications like Instagram, Facebook, Twitter, WhatsApp, Telegram, and SMS, as well as accessing native share options and copying content to the clipboard.
AI-written summary of version 2.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to implement direct sharing to specific apps like Instagram or Facebook stories.
- You want to trigger SMS, WhatsApp, or Telegram messages directly from your app.
Skip it when
- You only need general-purpose native sharing without specific social app integrations.
- You want a modern, actively maintained package from the standard 'plus' plugins ecosystem.
Strengths
- Supports direct sharing to popular social apps including Instagram, Facebook, Twitter, and WhatsApp.
- Includes helper method for copying text to the clipboard.
- Allows checking installed apps for sharing.
Weaknesses
- Requires manual native configuration on both Android (AndroidManifest.xml, FileProvider) and iOS (Info.plist).
- Known issues on certain platform versions (e.g., Android 6 story sharing limitations).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires adding FileProvider paths and attributes in AndroidManifest.xml, and LSApplicationQueriesSchemes plus FacebookAppID keys in iOS Info.plist.
SocialShare.shareOptions("Hello world");
SocialShare.copyToClipboard("This is Social Share plugin");Alternatives
Packages that do the same job and could replace social_share.
- share_plus
It is the standard, widely-maintained Flutter community plugin for native sharing functionality.
92Compare
Works with
Packages commonly used together with social_share: ones it builds on, ones built on it, and its own family.