sha_env 0.0.1 icon indicating copy to clipboard operation
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
28%
popularity

Publisher

verified publisher iconprojetretro.io

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

Repository (GitHub)

Documentation

Documentation
API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

path

More

Packages that depend on sha_env