default_path_provider

default_path_provider is a flutter plugin that can provide you the path of android's default directories like Downloads, Pictures, DCIM, etc.

- Note: This plugin can work only in Android as of now!

Usage

import 'package:default_path_provider/default_path_provider.dart';

String dirPath = await DefaultPathProvider.getDownloadDirectoryPath;

Available Methods

  • getDownloadDirectoryPath
  • getPicturesDirectoryPath
  • getDCIMDirectoryPath
  • getNotificationsDirectoryPath
  • getMoviesDirectoryPath
  • getAlarmsDirectoryPath
  • getMusicDirectoryPath
  • getDocumentsDirectoryPath
  • getRingtonesDirectoryPath
  • getPodcastDirectoryPath

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update the tests as appropriate.

License

MIT

Libraries

default_path_provider