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
140
pub points
68%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on instagram_share