47 Commits

Author SHA1 Message Date
7470997b86 chore: format with dart format 2024-10-14 18:45:48 +13:00
70f228fff3 feat: explicit flutter 3.X support 2024-10-13 21:16:41 +13:00
f2d3c81b37 feat: allow env file to be optional (#81) 2023-06-01 15:10:10 +12:00
0c6beec5e0 feat: variable name in get error message (#53) 2022-09-25 20:04:14 +13:00
4c040be4ff feat: support for android 12 & IOS in example (#60) 2022-09-25 20:03:19 +13:00
7ceed51540 chore: prune dependencies and update to latest versions
Switching to flutter_test from test reduces the transitive dependency graph reducing potential version conflicts
2021-08-11 14:21:20 +12:00
cc8e64bf14 fix(test): make the testLoad method signature synchronous to match the body
Also updated README and added some tests
2021-08-11 14:21:20 +12:00
bdd9bf8677 feat: Wrapping dotenv methods within class #32 (#34)
BREAKING CHANGE: Access dotenv methods from the DotEnv class instead of globally.
2021-05-20 13:10:47 +12:00
106bd1dd58 fix: change regex lookbehind to group (#29)
fixes runtime errors in safari
2021-04-28 08:54:12 +12:00
6f0fd02c15 docs: correct documented import (#25) 2021-03-16 09:44:11 +13:00
5edfa2e981 feat: migrate to null-safety (#24) 2021-03-04 16:56:17 +13:00
fcd8777453 feat: merge env with map 2021-01-18 16:07:02 +13:00
2ddd451ff3 chore: changelog 2021-01-15 13:26:24 +13:00
a4376efe2d chore: format code 2021-01-15 13:26:09 +13:00
284b0b8919 chore: fix pub rating suggestions 2021-01-15 11:38:56 +13:00
c78b290d7e feat: merge with platform environment 2021-01-15 11:20:06 +13:00
accef4adf3 allow '=' characters in values (#4) 2019-11-27 22:42:37 +13:00
dcde5bc3bc Fixed a warning when using with flutter_test (#3)
Fixed a warning when using with flutter_test
2019-09-11 10:10:19 +12:00
6fdd9fc7e9 Ensure widgets bindings are initialized (#2)
fix: widget bindings initialised

- make sure widgets bindings are initialised before invoking rootBundle.loadString()
- replace .gitignore with flutter's default
- remove android/local.properties from version control
- update lockfile using Flutter 1.9.5 and Dart 2.5.0
2019-09-01 19:26:14 +12:00
55eae6e3c1 flutter compatibility 2.0.0 2018-12-12 13:13:11 +13:00
59becedba3 annotate test-only methods
Closes #3.
2018-07-12 13:58:40 -04:00
b026779f2c Apply dartfmt 2018-07-12 13:15:49 -04:00
208bba5d3e Type assertions 2018-07-12 13:15:49 -04:00
1c1c6a6e9b Add <String, String> assertions where necessary 2018-07-12 13:15:49 -04:00
51e2d69ba9 fmt 2015-07-19 17:17:22 -04:00
71e6b6aed6 cleanup 2015-06-04 23:32:46 -04:00
8a52a79640 don't throw on load fail
Closes #11.
2015-06-04 23:12:16 -04:00
d19d5480fd support braces in variable substitution
Closes #10.
2015-05-15 15:45:49 -04:00
512943f5e2 cleanup 2015-05-15 14:56:12 -04:00
587ad9aa30 minor: docs 2015-05-13 19:09:22 -04:00
5a6ad2537e wip cmd 2015-05-13 19:09:22 -04:00
da324818f0 docs
Closes #4.
2015-05-12 14:27:29 -04:00
49d5430ce0 check process environment for variable definitions
If `$var` is encountered when parsing the `.env` file, and
has not been defined, check `Platform.environment`.

Closes #6.
2015-05-12 02:53:34 -04:00
8b607115da deps: drop logging 2015-05-11 05:04:28 -04:00
9ff25ec2fe minor: docs 2015-05-10 15:19:35 -04:00
8946376f8e allow '#' in quotes
Close #5.
2015-05-10 00:13:46 -04:00
a2589e9ae8 fix quote-stripping 2015-05-09 20:49:27 -04:00
c4f30559d3 wip subs 2015-05-09 20:24:29 -04:00
e5bfd935c9 wip quotes 2015-05-09 18:24:40 -04:00
207406d1f2 cleanup
See #3.
2015-05-09 17:48:04 -04:00
e1764c2240 parser 2015-05-08 01:16:17 -04:00
f70f882ed6 cleanup 2015-04-07 19:32:22 -04:00
f507aeb8fe readme 2015-02-05 19:00:42 -05:00
074f630c5c tests 2015-02-05 18:16:05 -05:00
5ddaea059e cleanup 2015-02-05 18:05:16 -05:00
db28cfcd33 lib 2015-02-03 01:14:15 -05:00
19a7c68123 initial 2015-02-02 20:31:35 -05:00