android_file_storage 0.0.1
android_file_storage: ^0.0.1 copied to clipboard
A modern Flutter plugin to save files directly to Android Downloads directory using MediaStore API without extra runtime permissions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add android_file_storageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
android_file_storage: ^0.0.1Alternatively, 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:android_file_storage/android_file_storage.dart';