instagram_share 0.2.1 copy "instagram_share: ^0.2.1" to clipboard
instagram_share: ^0.2.1 copied to clipboard

PlatformAndroid

Flutter plugin allowing to share media to Instagram by using native mechanisms

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:instagram_share/instagram_share.dart';

void main() => runApp(ShareApp());

class ShareApp extends StatefulWidget {
  @override
  _ShareAppState createState() => _ShareAppState();
}

class _ShareAppState extends State<ShareApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Sharing App'),
        ),
        body: Center(
          child: MaterialButton(child: Text('Share'), onPressed: () {
            InstagramShare.share('/', 'image');
          }),
        ),
      ),
    );
  }
}
19
likes
160
points
105
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin allowing to share media to Instagram by using native mechanisms

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on instagram_share