screen-locker/stronglift_replacement/workout_app/lib/screens
Krzysztof kuhy Rudnicki b6414c7f1c Split home_screen.dart (260) and manual_workout_screen.dart (313)
Both by pattern B, both cut along the same line: whatever does not call
setState can live in a part extension, whatever does must stay on the class.

home_screen.dart 260 -> 228
  home_screen_navigation.dart (42) takes `_openSyncSettings` and
  `_openWorkout` — the two routes the screen pushes, each ending in the same
  `unawaited(_load())` reload. `_load` and `_refreshSyncStatus` stay: both
  setState.

manual_workout_screen.dart 313 -> 245
  manual_workout_form_parts.dart (83) takes the form's non-interactive
  building blocks — `_budgetBanner`, `_section`, `_text` — plus the
  `_int`/`_str` field readers and the `_draft()` assembler they feed. The
  sport dropdown and RPE slider stay on the class; both setState on change.

402 tests pass, dart analyze clean, coverage still 100%.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EveB813BQ8abAP68VSqZ5Y
2026-08-15 22:30:27 +02:00
..
github_mirror_screen_widgets.dart Split the private widgets out of three more Dart screens 2026-08-15 21:39:57 +02:00
github_mirror_screen.dart Split the private widgets out of three more Dart screens 2026-08-15 21:39:57 +02:00
history_screen_charts.dart Split history_screen.dart (897) into four part files 2026-08-15 21:06:09 +02:00
history_screen_data.dart Split history_screen.dart (897) into four part files 2026-08-15 21:06:09 +02:00
history_screen_painter.dart Split history_screen.dart (897) into four part files 2026-08-15 21:06:09 +02:00
history_screen_tiles.dart Split history_screen.dart (897) into four part files 2026-08-15 21:06:09 +02:00
history_screen.dart Split history_screen.dart (897) into four part files 2026-08-15 21:06:09 +02:00
home_screen_cards.dart Split the private widgets out of three more Dart screens 2026-08-15 21:39:57 +02:00
home_screen_navigation.dart Split home_screen.dart (260) and manual_workout_screen.dart (313) 2026-08-15 22:30:27 +02:00
home_screen.dart Split home_screen.dart (260) and manual_workout_screen.dart (313) 2026-08-15 22:30:27 +02:00
manual_workout_form_parts.dart Split home_screen.dart (260) and manual_workout_screen.dart (313) 2026-08-15 22:30:27 +02:00
manual_workout_screen.dart Split home_screen.dart (260) and manual_workout_screen.dart (313) 2026-08-15 22:30:27 +02:00
settings_screen_rows.dart Split settings_screen.dart's widgets into part files (771 -> 503) 2026-08-15 21:15:55 +02:00
settings_screen_thresholds.dart Split settings_screen.dart's widgets into part files (771 -> 503) 2026-08-15 21:15:55 +02:00
settings_screen.dart Split settings_screen.dart's widgets into part files (771 -> 503) 2026-08-15 21:15:55 +02:00
workout_screen_appbar.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen_body.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen_breaks.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen_dialogs.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen_finish.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen_session.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00
workout_screen.dart Split workout_screen.dart (633) into seven part files 2026-08-15 22:04:11 +02:00