storage_path 0.0.7

  • Example
  • Installing
  • Versions
  • new44

StoragePath #

A flutter plugin to get folders name with files path.

Only for Android. If you like plugin & want me to develop for iOS, help me to get Mac. PayPal

 storage_path: ^0.0.7
import 'package:storage_path/storage_path.dart';

Sample Code

 try {
      imagePath = await StorageImagesPath.imagesPath; //contains images path and folder name in json format
    } on PlatformException {
      imagesPath = 'Failed to get path';


videoPath = await StorageImagesPath.videoPath;
audioPath = await StorageImagesPath.audioPath;
filePath = await StorageImagesPath.filePath;

Image Json Sample

    "files": [
    "folderName": "screenshot"

File Json Sample

    "files": [
        "mimeType": "application/pdf",
        "size": "34113",
        "title": "C001-SP-2719^201902",
        "path": "/storage/emulated/0/Download/abc.pdf"
    "folderName": "Download"

Audio Json Sample

    "files": [
        "album": "ABC",
        "artist": "PQR",
        "path": "/storage/emulated/0/Download/todo.mp3",
        "dateAdded": "1515060080",
        "displayName": "todo.mp3",
        "duration": "235986",
        "size": "9506989"
    "folderName": "Download"

Video Json Sample

    "files": [
        "path": "/storage/emulated/0/DCIM/Camera/VID_20190304_112455.mp4",
        "dateAdded": "1551678904",
        "displayName": "VID_20190304_112455.mp4",
        "duration": "7147",
        "size": "12787914"
    "folderName": "Camera"

0.0.1 #

  • TODO: Describe initial release.


storage_path_example #

Demonstrates how to use the storage_path plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  storage_path: ^0.0.7

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:storage_path/storage_path.dart';
Version Uploaded Documentation Archive
0.0.7 Mar 8, 2019 Go to the documentation of storage_path 0.0.7 Download storage_path 0.0.7 archive
0.0.6 Mar 8, 2019 Go to the documentation of storage_path 0.0.6 Download storage_path 0.0.6 archive
0.0.5 Mar 8, 2019 Go to the documentation of storage_path 0.0.5 Download storage_path 0.0.5 archive
0.0.4 Mar 8, 2019 Go to the documentation of storage_path 0.0.4 Download storage_path 0.0.4 archive
0.0.3 Mar 7, 2019 Go to the documentation of storage_path 0.0.3 Download storage_path 0.0.3 archive
0.0.2 Mar 7, 2019 Go to the documentation of storage_path 0.0.2 Download storage_path 0.0.2 archive
0.0.1 Mar 7, 2019 Go to the documentation of storage_path 0.0.1 Download storage_path 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

7 out of 7 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/storage_path.dart.

Run flutter format to format lib/storage_path.dart.

Maintenance suggestions

The package description is too short. (-19 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8