revert(ui): ChildCardWidget identique au commit b18d5c8 (7 fév. 2026)

- Restauration fichier tel que dans feat(frontend): Refonte multi-modes (#78)
- Retrait onGenreChanged (step3/step5) ; genre API: défaut Autre si non renseigné
  jusqu’à nouvelle UI genre

Made-with: Cursor
This commit is contained in:
2026-03-28 18:22:22 +01:00
parent 1e21fe25f3
commit a723412043
4 changed files with 3 additions and 128 deletions
@@ -281,10 +281,6 @@ class _ParentRegisterStep3ScreenState extends State<ParentRegisterStep3Screen> {
final c = registrationData.children[index];
registrationData.updateChild(index, c.copyWith(lastName: value));
}),
onGenreChanged: (value) {
final oldChild = registrationData.children[index];
registrationData.updateChild(index, oldChild.copyWith(genre: value));
},
onTogglePhotoConsent: (newValue) {
final oldChild = registrationData.children[index];
registrationData.updateChild(index, oldChild.copyWith(photoConsent: newValue));
@@ -381,10 +377,6 @@ class _ParentRegisterStep3ScreenState extends State<ParentRegisterStep3Screen> {
final c = registrationData.children[index];
registrationData.updateChild(index, c.copyWith(lastName: value));
}),
onGenreChanged: (value) {
final oldChild = registrationData.children[index];
registrationData.updateChild(index, oldChild.copyWith(genre: value));
},
onTogglePhotoConsent: (newValue) {
final oldChild = registrationData.children[index];
registrationData.updateChild(index, oldChild.copyWith(photoConsent: newValue));