Open arualana opened 3 years ago
any news?
I stumbled upon this myself, but later discovered that Flutter or Dart has built-in command that loads environment variable values:
flutter run --dart-define=baseUrl=https://github.com/
or file:
flutter run --dart-define-from-file=.env
Hello, I am trying to set the variables in the command line
I am running
flutter run -d chrome
How do I add the env variables to the command?