x_path_provider 0.0.1
x_path_provider: ^0.0.1 copied to clipboard
Get application directory path
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add x_path_providerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
x_path_provider: ^0.0.1Alternatively, 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:x_path_provider/x_path_provider.dart';