Skip to content
pubscout

esys_flutter_share_plus

2.5.1, released 10 months ago by innim.ru

Flutter plugin to share files and text with other apps

$ flutter pub add esys_flutter_share_plus
Source repository

What it does

Provides methods to share text, files from storage or memory, and multiple files. It handles temporary file cleanup and supports separate activity mode on Android.

AI-written summary of version 2.5.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to share images, PDFs, or other files from your app
  • You want to share plain text or a combination of text and files
  • You need automatic cleanup of temporary files after sharing

Skip it when

  • You are building a pure iOS app that cannot use Swift plugins
  • You need to share very large files from memory
  • You require a single‑activity share flow without separate Android activity

Strengths

  • Easy initialization with Share.init()
  • Automatic temporary file cleanup
  • Supports separate activity mode for Android navigation
  • Provides both storage and memory sharing APIs

Weaknesses

  • Requires Swift for iOS projects
  • Separate activity mode is default on Android, limiting result handling
  • Memory sharing methods can cause OOM for large files

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Call Share.init() at app startup. For iOS, ensure the Flutter app is created with Swift or adjust Podfile to set SWIFT_VERSION. No build_runner needed.

import 'package:esys_flutter_share_plus/esys_flutter_share_plus.dart';
await Share.init();
await EsysFlutterShare.fileFromStorage('Share File','example.pdf','/path/example.pdf','application/pdf',text:'Check it out!');

Alternatives

Packages that do the same job and could replace esys_flutter_share_plus.

  • share_plus

    Officially maintained, supports more platforms and has broader community support

Works with

Packages commonly used together with esys_flutter_share_plus: ones it builds on, ones built on it, and its own family.