Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 998 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 998 Bytes

android_path_provider

pub package

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;
}