How rohithkarnati/gym-dude works
Gym Dude is an offline-first, single-user fitness app. Its main workflow is to plan weekday workouts, open a session, log sets against previous-session targets, and review personal records; the app also supports routine tracking, body-progress logging, and reminders. Flutter screens use Riverpod state and on-device SQLite storage. The README documents these capabilities and the technology choices, but the sampled source contains only the Android Flutter entry point, so internal call relationships are not verified; the graph shows documented relationships rather than inferred implementation details.
Main entry points: app_shell.dart App navigation · session_logger_screen.dart Session logging · database.dart SQLite database · settings_screen.dart Settings
Components 19
Training
- Workout planning
lib/screens/train/train_screen.dart - Session logging
lib/screens/train/session_logger_screen.dart - PR history
lib/screens/train/pr_history_screen.dart - Shareable PR cards
lib/screens/train/pr_card_screen.dart
Daily wellbeing
- Routine checklist
lib/screens/routine/routine_screen.dart - Body progress
lib/screens/me/body_screen.dart
App experience
- App navigation
lib/screens/app_shell.dart - Home glance
lib/screens/home/home_screen.dart - App tour
lib/screens/onboarding/onboarding_screen.dart - Settings
lib/screens/me/settings_screen.dart
State and storage
- SQLite database
lib/data/database.dart - Workout data access
lib/data/workout_dao.dart - Routine data access
lib/data/routine_dao.dart - Body data access
lib/data/body_dao.dart - Settings data access
lib/data/settings_dao.dart
Reminders
- Notification settings state
lib/providers/settings_providers.dart - Reminder scheduling
lib/providers/notification_helper.dart - Local notifications
lib/services/notification_service.dart
Other components
- User
Connections 23
- User → App navigation: uses
README.md - App navigation → Home glance: shows home
README.md - Home glance → Workout planning: shows today's plan
README.md - Home glance → Session logging: starts workout
README.md - Workout planning → Session logging: plans sessions
README.md - Session logging → PR history: detects records
README.md - PR history → Shareable PR cards: creates card
README.md - App navigation → Routine checklist: provides routine
README.md - App navigation → Body progress: provides progress
README.md - App navigation → App tour: shows tour
README.md - Settings → App tour: replays tour
README.md - Settings → Notification settings state: configures reminders
README.md - Notification settings state → Reminder scheduling: schedules reminders
README.md - Reminder scheduling → Local notifications: uses service
README.md - Workout planning → Workout data access: persists plans
- Session logging → Workout data access: persists sessions
- Routine checklist → Routine data access: persists checklist
- Body progress → Body data access: persists entries
- Settings → Settings data access: persists preferences
- Workout data access → SQLite database: uses SQLite
README.md - Routine data access → SQLite database: uses SQLite
README.md - Body data access → SQLite database: uses SQLite
README.md - Settings data access → SQLite database: uses SQLite
README.md