Skip to content

Repository files navigation

ShareClient

Getting Started

Installation

Add the following to your pubspec.yaml file:

dependencies:
  share_client: ^0.0.1
    git:
      url: https://github.com/arcas0803/share_client.git
      ref: main

Usage

Import

import 'package:share_client/share_client.dart';

Methods

shareText

final client = ShareClient();

await client.shareText(text: 'https://www.google.com');

Share File

final client = ShareClient();

await client.shareFile(
    path: '/storage/emulated/0/Download/1.jpg',
);

Share files

final client = ShareClient();

await client.shareFiles(
    paths: [
        '/storage/emulated/0/Download/1.jpg',
        '/storage/emulated/0/Download/2.jpg',
    ],
);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages