A Flutter app demonstrating multiple environment configurations. It's the stock flutter counter app with a few environment-specific variables (colours, strings, etc). There's also a test to validate that environments are working correctly.
- environment configuration files are found in lib/config
- running lib/main.dart uses the Development environment by default
- run lib/config/{environment}.dart to build for the desired environment
- the app's constructor receives an Env instance
- Env.value.{attribute}can also be called statically from anywhere within the application
- Env.value.namereturns the environment's name; ie "Staging"
- tests have their own environment which is passed to the app's constructor from within the test
- clone the project
- run $ flutter packages get
- experiment with the following commands...
$ flutter run lib/main.dart
$ flutter run lib/config/staging.dart
$ flutter build apk lib/config/production.dart
$ flutter test test/widget_test.dart


