environment variables flutter code example Example: flutter environment variables const bool isProduction = bool.fromEnvironment('dart.vm.product');