ngxingyu

Results 13 comments of ngxingyu

Just discovered that the layout files for mdsvex doesn't support typescript (It resulted in a ParseError: Unexpected token) but using javascript works perfectly.

I do see this test case fail occasionally as well, not entirely sure why but I'm using WSL as well, seems to occur when my CPU usage is higher ![image](https://user-images.githubusercontent.com/12682160/152189060-4db549a8-ee84-45e5-99c6-0448b1cb597f.png)

Any information that you want to keep private like passwords or API keys that are not meant to be shared should not be bundled within your apk since it can...

Perhaps if the env fle you plan to use might be empty, you can check if its empty can catch that instead? Actually I'm not really sure about the need...

Currently the variables you put in the .env file will not override any existing platform environment variables defined at compile time and set in `mergeWith: Platform.environment`, so the env file...

This isn't possible currently since the .env file is read and the env map is generated only at runtime. I think a simple solution would be to use `flutter run...

Perhaps you can take a look at the test/dotenv_test.dart file for a sample approach taken when testing this package (theres a testLoad method which takes in the content of the...

I went to try it out, and i believe the .load method will not throw the FileNotFoundError if you add your test env file to your pubspec assets, and run...

Attempted to deploy web build version on surge, the provided example with .env file in assets folder works fine: [web version](https://flutter-dotenv-sample.surge.sh/). Ensure that - the `.env` file location, - the...

Did you run `dotenv.load(fileName: 'dotenv');` before you called `dotenv.env`?