instagram_share 0.1.0
instagram_share: ^0.1.0 copied to clipboard
Flutter plugin allowing to share media to instagram
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:instagram_share/instagram_share.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: MaterialButton(child: Text('Share'), onPressed: () {
InstagramShare.share('/', 'image');
}),
),
);
}
}