A simple Flutter app to track your daily water intake with full internationalization support.
H2OSync is a hydration tracking app that helps you keep your water levels on track. With a clean and intuitive interface, you can easily log your water intake and monitor your progress over time. The app supports multiple languages and automatically adapts to your deviceβs language settings.
The project follows Clean Architecture principles with:
The app features complete internationalization support using Flutterβs official l10n system:
lib/l10n/ directorylib/
βββ core/
β βββ events/ # Domain events
β βββ extensions/ # Utility extensions
β βββ services/ # Core services
βββ data/
β βββ models/ # Data models
β βββ repositories/ # Repository implementations
βββ domain/
β βββ entities/ # Business entities
β βββ repositories/ # Repository contracts
β βββ use_cases/ # Use cases
βββ generated/l10n/ # Auto-generated localization files
βββ l10n/ # Translation resource files (ARB)
β βββ app_en.arb # English translations
β βββ app_pt.arb # Portuguese translations
βββ presentation/
βββ controllers/ # Business logic controllers
βββ dialogs/ # Modal dialogs
βββ pages/ # Application pages
βββ providers/ # State management (Riverpod)
βββ theme/ # Theme and colors
βββ widgets/ # Reusable components
git clone https://github.com/eduardopahl/h2o_simple.git
cd h2o_simple
flutter pub get
flutter gen-l10n
flutter run
flutter build apk --release
flutter build ios --release
For detailed iOS setup instructions, see IOS_SETUP.md
git checkout -b feature/new-feature)git commit -m 'Add new feature')git push origin feature/new-feature)lib/l10n/ (e.g., app_es.arb for Spanish)app_en.arb and translate all stringssupportedLocales in main.dartflutter gen-l10n to generate localization classesThis project is under the MIT license. See the LICENSE file for more details.
Eduardo Pahl