feat(frontend): Ajout champ genre obligatoire + Clean Code Step3
- Ajout champ gender (H/F) dans ChildData avec sélecteur radio - Correction indicateur étape: 3/5 → 3/6 - Suppression commentaires inutiles et code obsolète - Suppression print() pour gestion silencieuse des erreurs - Ajout méthode gender() dans DataGenerator Ticket #38
This commit is contained in:
@@ -51,6 +51,8 @@ class DataGenerator {
|
||||
|
||||
static bool boolean() => _random.nextBool();
|
||||
|
||||
static String gender() => _random.nextBool() ? 'H' : 'F';
|
||||
|
||||
static String motivation() {
|
||||
int count = _random.nextInt(3) + 2; // 2 à 4 phrases
|
||||
List<String> chosenSnippets = [];
|
||||
|
||||
Reference in New Issue
Block a user