sha_env 0.0.1 copy "sha_env: ^0.0.1" to clipboard
sha_env: ^0.0.1 copied to clipboard

Yet another DotEnv handling library for Dart but all the other gave me headaches.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sha_env

With Flutter:

 $ flutter pub add sha_env

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

dependencies:
  sha_env: ^0.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:sha_env/sha_env.dart';
1
likes
130
pub points
1%
popularity

Publisher

verified publisherprojetretro.io

Yet another DotEnv handling library for Dart but all the other gave me headaches.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

unknown (LICENSE)

Dependencies

path

More

Packages that depend on sha_env