I want to pass an environment variable to the flutter drive tag.
The ability to read the value in the running application or the test code will be great, because I need it in the application, and if I could get it only in the test code, I could pass it to the application using driver.requestData()
For example, Travis allows me to specify environment variables that are not displayed in any way (for example, script content and log output).
I want to specify a username and password so that they can be used inside the application.
Setting environment variables in Flutter is a similar question, but it is too complicated for my use case.
dart flutter
Günter zöchbauer
source share