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

A Flutter package for switching between different environment configurations (dev, staging, production) with a secret tap gesture.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add env_switcher

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

dependencies:
  env_switcher: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:env_switcher/env_switcher.dart';
1
likes
160
points
204
downloads

Publisher

verified publisherramashook.my.id

Weekly Downloads

A Flutter package for switching between different environment configurations (dev, staging, production) with a secret tap gesture.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on env_switcher