file_save_directory 1.0.3
file_save_directory: ^1.0.3 copied to clipboard
A Flutter plugin for saving files to Downloads, Documents, Music, Videos, or App Documents folders on Android and iOS with enum-based location selection and smart file type detection
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add file_save_directoryThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
file_save_directory: ^1.0.3Alternatively, 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:file_save_directory/file_save_directory.dart';