path_provider_ex 1.0.0 path_provider_ex: ^1.0.0 copied to clipboard
An Android path provider for Flutter that provides root and app files directory for both "external storage" (internal flash) and SD card (if present), as well as available space for each storage.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add path_provider_ex
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
path_provider_ex: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:path_provider_ex/path_provider_ex.dart';