globe_env 1.0.0 copy "globe_env: ^1.0.0" to clipboard
globe_env: ^1.0.0 copied to clipboard

A package which provides an interface around the available Globe Environment variables.

example/globe_env_example.dart

import 'package:globe_env/globe_env.dart';

void main() {
  if (GlobeEnv.isGlobeRuntime) {
    print('Running in Globe environment');
  } else {
    print('Running in local environment');
  }
}
copied to clipboard
0
likes
160
points
134
downloads

Publisher

verified publisherglobe.dev

Weekly Downloads

2024.09.10 - 2025.03.25

A package which provides an interface around the available Globe Environment variables.

Repository (GitHub)
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on globe_env