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.

example/sha_env_example.dart

import 'package:sha_env/sha_env.dart';

void main() {
  /// Will load the variablesfrom .env file
  ShaEnv().loadSync();

  /// print variable api key
  print(env['API_KEY']);
}
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