Refactor ForexRateAPI integration to load API key from .env file and enhance error handling

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-19 23:48:26 +01:00
parent a775a20dd2
commit e6c16967f9
8 changed files with 244 additions and 81 deletions
+3
View File
@@ -9,6 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_dotenv: ^5.2.1
flutter_local_notifications: ^19.5.0
flutter_timezone: ^4.1.1
http: ^1.5.0
@@ -25,3 +26,5 @@ dev_dependencies:
flutter:
uses-material-design: true
assets:
- ./.env