Skip to content
pubscout

android_path_provider

0.3.2, released 7 months ago by mix1009.com

Flutter plugin for getting Android directories like Downloads, Movies, and Pictures.

WASM-ready
$ flutter pub add android_path_provider
Source repository

What it does

Provides static methods to retrieve common Android directory paths such as downloads, movies, pictures, alarms, and music. It is designed specifically for the Android platform.

AI-written summary of version 0.3.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to access standard Android shared storage directories in a Flutter app.
  • Your app specifically targets Android and requires paths like Downloads or Pictures.

Skip it when

  • You are building a cross-platform app that also needs to support iOS, Web, or Desktop.
  • You need a general-purpose path provider that works seamlessly across multiple platforms.

Strengths

  • Simple and straightforward API for getting standard Android directories.
  • Lightweight with minimal dependencies.

Weaknesses

  • Only works on the Android platform.
  • Not documented for cross-platform support.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Not documented

void getAndroidPaths() async {
    var downloadsPath = await AndroidPathProvider.downloadsPath;
    var picturesPath = await AndroidPathProvider.picturesPath;
}

Alternatives

Packages that do the same job and could replace android_path_provider.