Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mix1009/android_path_provider

flutter plugin to provide android paths (downloads, movies, music...)
https://github.com/mix1009/android_path_provider

Last synced: 29 days ago
JSON representation

flutter plugin to provide android paths (downloads, movies, music...)

Awesome Lists containing this project

README

        

# android_path_provider

[![pub package](https://img.shields.io/pub/v/android_path_provider.svg)](https://pub.dartlang.org/packages/android_path_provider)

Flutter plugin for getting Android directories. (Downloads, Movies, Pictures...). This plugin only works on Android platform.

## Usage
void getAndroidPaths() async {
var alarmsPath = await AndroidPathProvider.alarmsPath;
var dcimPath = await AndroidPathProvider.dcimPath;
var documentsPath = await AndroidPathProvider.documentsPath;
var downloadsPath = await AndroidPathProvider.downloadsPath;
var moviesPath = await AndroidPathProvider.moviesPath;
var musicPath = await AndroidPathProvider.musicPath;
var notificationsPath = await AndroidPathProvider.notificationsPath;
var picturesPath = await AndroidPathProvider.picturesPath;
var podcastsPath = await AndroidPathProvider.podcastsPath;
var ringtonesPath = await AndroidPathProvider.ringtonesPath;
}