media_saver 1.0.2 media_saver: ^1.0.2 copied to clipboard
Quick and Simple save media file for Android and IOS,for android its Implements native permission ,For iOS you need setting info.plist with 'Privacy - Photo Library Additions Usage Description',Suppor [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add media_saver
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
media_saver: ^1.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:media_saver/media_saver.dart';