Log.exerciseObj was declared late and is only ever assigned when hydrating the logs of a routine's sessions. Logs read from the database are built through drift's row class and only carry exerciseId, so copyWith threw a LateInitializationError when it unconditionally read the field. Copying a past log in gym mode does exactly that. Make the field nullable behind a getter that throws a descriptive error, add exerciseObjOrNull for callers that legitimately handle logs straight from the database, and only carry the exercise over when there is one. Hydrating the exercise in watchLogsByExerciseDrift instead would mean joining its translations, images, muscles and equipment for every log, which most callers don't need. The log page tests mocked the query with the test routine's logs, which are hydrated, which is why this was never caught. They now return logs without an exercise, like the real query does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XzxNFoPMxsFPxHD3P2Ma3w
Mobile app for wger
wger is a free, open-source flutter application that manages and tracks/logs your exercises and personal workouts, weight, and diet plans. This is the mobile app written with Flutter, it talks via REST with the main server.
If you want to contribute, hop on the Discord server and say hi!
Installation
Developing and contributing
Our goal is to build an awesome and flexible fitness and nutrition manager, along with a comprehensive list of exercises and ingredients, all released under a free license.
For this, we’d love your help! Whether it’s code, translations, exercises or reporting issues and ideas, check out our contribution guide to get started.
A huge thank you to everyone who has contributed so far! ❤️ See the full list in AUTHORS.md.
TLDR
flutter run
This is a regular flutter application, so there's no magic. You will need a backend for this, so feel free to use the test server for this (the db is reset daily):
- URL:
https://dev.wger.de - username:
user - password:
flutteruser
Translation
Translate the app to your language on Weblate.
Contact
Feel free to get in touch if you found this useful or if something didn't behave as expected. We can't fix what we don't know about, so please report liberally. If you're not sure if something is a bug or not, feel free to file a bug anyway.
- Discord: https://discord.gg/rPWFv6W
- Issue tracker: https://github.com/wger-project/flutter/issues
- Mastodon: https://fosstodon.org/@wger
License
The application is licensed under the GNU Affero General Public License 3 or later (AGPL 3+) with an app store exception.
As additional permission under section 7, you are allowed to distribute the software through an app store, even if that store has restrictive terms and conditions that are incompatible with the AGPL, provided that the source is also available under the AGPL with or without this permission through a channel without those restrictive terms and conditions.
The initial exercise and ingredient data is licensed additionally under one of the Creative Commons licenses, see the individual exercises for more details.


