simple_share_native 0.1.3 copy "simple_share_native: ^0.1.3" to clipboard
simple_share_native: ^0.1.3 copied to clipboard

Simple share text plugin. It can share any text message and it's available on Android, iOS, and macOS.

simple_share_native #

A new Flutter plugin project.

Getting Started #

This is just a simple share plugin that can share only text.

Usage #

// import plugin and init it

import 'package:simple_share_native/simple_share_native.dart';
  final _simpleShareNativePlugin = SimpleShareNative();
  
  //use shareMessage method and pass the message you want to share
  Future<void> shareText() async {
    final String message = textController.text.trim();
    await _simpleShareNativePlugin.shareMessage(message);
  }

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 development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
150
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

Simple share text plugin. It can share any text message and it's available on Android, iOS, and macOS.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on simple_share_native