How wger-project/flutter works
Project type and purpose
• This is a Flutter‐based, cross-platform mobile application (“wger”) that runs on Android, iOS, Linux, macOS, Windows, and Web.
• Its purpose is to present a rich UI for tracking workouts, exercises, body weight, and nutrition, and to persist data both locally and remotely via a REST API on the wger backend server.
File structure
• Top-level “android”, “ios”, “linux”, “macos”, “windows”, “web” directories: platform embedding projects.
• “lib/” folder: all Dart code is organized into feature and layer subdirectories:
• core (service locator, app bootstrap)
• database (local persistency: exercise and ingredient DAOs, generated code)
• models (data classes, JSON serialization via Freezed/g.dart)
• providers (state management with ChangeNotifier + Provider)
• screens (UI pages)
• widgets (reusable UI components)
• helpers (utility functions, platform detection, shared pref wrappers)
• Configuration files: pubspec.yaml, analysis_options.yaml, l10n.yaml.
• CI/CD: GitHub Workflows, fastlane, flatpak scripts for packaging, integration_test and test folder for automated testing.
README
• Confirms this is a pure Flutter mobile app talking via REST to the wger server (https://wger-master.rge.uber.space).
• Notes translation/l10n, testing, and contribution instructions.