flutter_share
2.0.0, released 6 years ago by britto.dev
Share text, links or files on iOS and Android
WASM-ready
What it does
Provides a simple API to share messages, URLs and local files from a Flutter app. It supports both Android and iOS platforms.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to share text or links from your app
- You need to share local files to other apps
- You prefer a minimal dependency for sharing
Skip it when
- You are already using the official share plugin or share_plus
- You need advanced sharing features like custom intents or platform-specific options
Strengths
- Simple, single-method API for messages and links
- Supports file sharing with optional file type on Android
- Null safety and AndroidX support
Weaknesses
- Discontinued after official plugin added file support
- Requires manual Android file provider configuration
- No active maintenance or updates
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Android: add FileProvider to AndroidManifest and provider_paths.xml; iOS: ensure use_frameworks! in Podfile
await FlutterShare.share(title: 'Example', text: 'Hello', linkUrl: 'https://flutter.dev');Alternatives
Packages that do the same job and could replace flutter_share.
- share_plus
Officially maintained, supports files, no extra configuration
92Compare