How amirbayat0/flutter-converter-app works
Instant Converter is a Flutter unit-conversion app whose main workflow is entering a value, converting it in real time across six unit categories, and viewing or copying the result. The README describes centralized conversion logic, reactive GetX state, and local storage for recent conversions. It also advertises history, settings, onboarding, and utility tools as product capabilities. Source excerpts cover only platform/build files, so the Dart component links below rely on README statements; implementation-level call paths could not be verified.
Main entry points: converter_screen.dart Converter Screen · tools_screen.dart Tools Hub · history_controller.dart History State · main_wrapper.dart Main Navigation
Components 26
App and Navigation
- App Entry
converter/lib/main.dart - Main Navigation
converter/lib/views/main_wrapper.dart - Onboarding
converter/lib/views/onboarding_screen.dart - Splash Screen
converter/lib/views/splash_screen.dart
Conversion Workflow
- Converter Screen
converter/lib/views/converter_screen.dart - Conversion State
converter/lib/controllers/converter_controller.dart - Conversion Logic
converter/lib/utils/converter_helper.dart - Unit Categories
converter/lib/utils/conversion_data.dart - Unit Model
converter/lib/models/conversion_unit.dart - Category Model
converter/lib/models/conversion_category.dart - Conversion Input
converter/lib/widgets/conversion_input.dart - Result Display
converter/lib/widgets/result_display.dart
History and Storage
- History State
converter/lib/controllers/history_controller.dart - Conversion History
converter/lib/views/history_view.dart - History Record
converter/lib/models/conversion_history.dart - Local Preferences
converter/lib/utils/storage_helper.dart
Tools and Settings
- Tools Hub
converter/lib/views/tools/tools_screen.dart - Age Calculator
converter/lib/views/tools/age_calculator_screen.dart - Date Calculator
converter/lib/views/tools/date_calculator_screen.dart - Password Generator
converter/lib/views/tools/password_generator_screen.dart - Timezone Converter
converter/lib/views/tools/timezone_converter_screen.dart - Settings
converter/lib/views/settings_screen.dart - Settings State
converter/lib/controllers/settings_controller.dart - Theme State
converter/lib/controllers/theme_controller.dart
Other components
- User
- Clipboard
Connections 23
- User → Converter Screen: enters values
README.md - Converter Screen → Conversion State: updates state
README.md - Conversion State → Conversion Logic: converts units
README.md - Conversion Logic → Unit Categories: uses categories
README.md - Converter Screen → Conversion Input: accepts input
README.md - Converter Screen → Result Display: shows result
README.md - Conversion State → History State: saves recent conversions
README.md - History State → Local Preferences: stores history
README.md - History State → History Record: records conversions
README.md - Conversion History → History State: shows recent items
README.md - User → Tools Hub: opens tools
README.md - Tools Hub → Age Calculator: offers calculator
README.md - Tools Hub → Date Calculator: offers calculator
README.md - Tools Hub → Password Generator: offers generator
README.md - Tools Hub → Timezone Converter: offers converter
README.md - User → Settings: opens settings
README.md - Settings → Settings State: manages settings
- Settings State → Theme State: manages theme
- User → Clipboard: copies result
README.md - Converter Screen → Clipboard: copies result
README.md - App Entry → Main Navigation: starts app
- Main Navigation → Splash Screen: shows startup
- Main Navigation → Onboarding: offers onboarding