flutter_share_plus 0.0.4 copy "flutter_share_plus: ^0.0.4" to clipboard
flutter_share_plus: ^0.0.4 copied to clipboard

outdated

Flutter plugin to share text and images and many more.

flutter_share_plus #

Flutter plugin to share text and images

Getting Started #

Share single text

Future<void> share_text(String message) async {
    await _channel.invokeMethod('share_text',<String, String>{
      'message':message
    });
  }

ElevatedButton(
    onPressed: (){
        share_text("message111");
    },
    child: Text("Click me to share single text")
),

Share multiple text

 Future<void> share_multiline_text(String title, String description) async {
    await _channel.invokeMethod('share_multiline_text',<String, String>{
      'title':title,'description':description
    });
  }

ElevatedButton(
    onPressed: (){
    share_multiline_text("title111","description111");
    },
    child: Text("Click me to share multiple text")
)

4
likes
0
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to share text and images and many more.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_share_plus

Packages that implement flutter_share_plus