share_it 0.1.0+2 copy "share_it: ^0.1.0+2" to clipboard
share_it: ^0.1.0+2 copied to clipboard

outdated

A plugin to share text, images and files. Written in Kotlin and Swift for both Android and iOS. It uses official APIs and the Dart interface provides specific methods for each platform but also genera [...]

share_it #

pub package

A plugin to share text, images and files.

The Android version uses an androidx library. Also remember to add the necessary permissions in your app when needed.

TODOs:

  • iPad support (really easy, should be in the next version)
  • External Android storage support

Example #

// just text
ShareIt.text(
  content: 'Hello!!!', 
  androidSheetTitle: 'Title here!!'
);
// some file
ShareIt.file(
  path: await _imageBundlePath, 
  type: ShareItFileType.image
);

There are also specific platform methods if needed.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

26
likes
0
pub points
83%
popularity

Publisher

unverified uploader

A plugin to share text, images and files. Written in Kotlin and Swift for both Android and iOS. It uses official APIs and the Dart interface provides specific methods for each platform but also general methods that are platform independant.

Homepage
Repository (GitLab)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on share_it