How isham002/vokabeltrainer works
Vokabeltrainer is a cross-platform Flutter vocabulary-learning app built around short training sessions and gamified progress. The main user journey is to choose a session, practice vocabulary, and receive progress feedback; vocabulary can also be added manually or imported from photographed lists. The README documents Firebase authentication and Firestore persistence, plus on-device OCR and offline translation. The source excerpts cover native desktop and iOS launch plumbing, not the Dart implementation, so feature relationships below rely on README statements rather than inspected Dart calls.
Main entry points: start_session_screen.dart Session setup · active_learning_screen.dart Active learning · training_service.dart Training logic · add_vocabulary_screen.dart Vocabulary entry
Components 20
Learning flow
- Session setup
lib/ui/screens/start_session_screen.dart - Active learning
lib/ui/screens/active_learning_screen.dart - Training logic
lib/services/training_service.dart - Session review
lib/ui/screens/success_review_screen.dart - Dashboard
lib/ui/screens/dashboard_screen.dart
Vocabulary tools
- Vocabulary entry
lib/ui/screens/add_vocabulary_screen.dart - Photo scan
lib/ui/screens/ocr_scan_screen.dart - Text extraction
lib/services/ocr_service.dart - Offline translation
lib/services/translate_service.dart - Vocabulary state
lib/providers/vocabulary_provider.dart - Vocabulary records
lib/services/firestore_service.dart
Progress and rewards
- Gamification state
lib/providers/gamification_provider.dart - League leaderboard
lib/ui/screens/leaderboard_screen.dart - User profile
lib/models/user_profile.dart
Identity and data
- Sign-in screen
lib/ui/screens/auth_screen.dart - Authentication state
lib/providers/auth_provider.dart - Firebase authentication
lib/services/auth_service.dart
Other components
- Learner
- Firebase Auth
- Cloud Firestore
Connections 17
- Learner → Session setup: starts session
README.md - Session setup → Active learning: begins practice
README.md - Active learning → Training logic: runs training
- Training logic → Session review: reports results
- Learner → Dashboard: views progress
README.md - Learner → Vocabulary entry: adds vocabulary
README.md - Learner → Photo scan: scans list
README.md - Photo scan → Text extraction: extracts text
README.md - Text extraction → Offline translation: translates offline
README.md - Vocabulary entry → Vocabulary state: updates vocabulary
- Vocabulary state → Vocabulary records: persists vocabulary
- Learner → League leaderboard: views league
README.md - Gamification state → League leaderboard: supplies rankings
- Sign-in screen → Authentication state: submits credentials
- Authentication state → Firebase authentication: delegates sign-in
- Firebase authentication → Firebase Auth: authenticates
README.md - Vocabulary records → Cloud Firestore: stores records
README.md