advanced_share 0.0.1 copy "advanced_share: ^0.0.1" to clipboard
advanced_share: ^0.0.1 copied to clipboard

discontinued
outdated

Flutter plugin for sharing

Advanced Share Plugin #

EXPERIMENTAL Share text and file your flutter app.

Compatible

Only android because i dont have a Mac. Can you give me a mac for gift :)

Usage

add advanced_share as a dependency in your pubspec.yaml file.

Import the library via

import 'package:advanced_share/advanced_share.dart';

Methods

generic({String msg, String url, String title, String subject, String type})

its required one of msg or url parameters. if you using share local file, you need storage permissions.


Parameter Description
String msg Text message
String url Base64 file url or Local file url
String title Chooser title default "Share" (Optional)
String subject For example mail subject (Optional)
String type Intent type (Optional)
Examples
AdvancedShare.generic(
    msg: "Its good.", 
    title: "Share with Advanced Share",
  );
String BASE64_IMAGE = "data:image/png;base64, ...";
AdvancedShare.generic(
    msg: "Base64 file share", 
    subject: "Flutter",
    title: "Share Image",
    url: BASE64_IMAGE
);
AdvancedShare.generic(
    url: "file:///storage/emulated/0/Download/test.txt"
);
1
likes
30
pub points
9%
popularity

Publisher

unverified uploader

Flutter plugin for sharing

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on advanced_share