homedir 0.0.4 copy "homedir: ^0.0.4" to clipboard
homedir: ^0.0.4 copied to clipboard

Dart 1 only

Get home directory on any platform

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add homedir

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  homedir: ^0.0.4

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:homedir/homedir.dart';
0
likes
20
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Get home directory on any platform

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on homedir