How goodviet/currency-converter works
Project type and purpose
• This is a cross-platform mobile (and desktop/web) Currency Converter app built with Flutter (Dart).
• It fetches real-time exchange rates from a third-party API (exchangerate-api.com) and exposes a simple UI for users to enter an amount, pick base and target currencies, and view conversion results.
File structure analysis
• Top-level “currency” folder contains platform integrations (android/, ios/, linux/, macos/, windows/, web/) generated by Flutter.
• The application logic lives under lib/:
• lib/main.dart – app entrypoint and routing
• lib/home.screen.dart – main UI screen
• lib/service/service.app.dart – HTTP client for exchangerate-api.com
• lib/widget/*.dart – reusable UI components (button, dropdown, textfield)
• pubspec.yaml / pubspec.lock declare Flutter and Dart dependencies.
• test/ holds widget tests.
README insights
• Describes features (currency selection, amount entry, auto-update rates, reset).
• Technology stack: Flutter/Dart + exchangerate-api.com HTTP API.
• No custom backend—relies entirely on a remote REST API.