idk
This commit is contained in:
parent
308c8f966f
commit
c205bc592c
@ -11,6 +11,7 @@ class Student {
|
|||||||
String? address;
|
String? address;
|
||||||
String? groupId;
|
String? groupId;
|
||||||
List<String> parents;
|
List<String> parents;
|
||||||
|
// List<String> parentsPhone;
|
||||||
String? className;
|
String? className;
|
||||||
|
|
||||||
Student({
|
Student({
|
||||||
@ -21,6 +22,7 @@ class Student {
|
|||||||
required this.yearId,
|
required this.yearId,
|
||||||
this.address,
|
this.address,
|
||||||
required this.parents,
|
required this.parents,
|
||||||
|
// required this.parentsPhone,
|
||||||
this.json,
|
this.json,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -56,6 +56,13 @@ class AccountView extends StatelessWidget {
|
|||||||
Detail(
|
Detail(
|
||||||
title: "parents".plural(user.student.parents.length),
|
title: "parents".plural(user.student.parents.length),
|
||||||
description: user.student.parents.join(", ")),
|
description: user.student.parents.join(", ")),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10.0,
|
||||||
|
),
|
||||||
|
// Detail(
|
||||||
|
// title: "parents".i18n,
|
||||||
|
// description: user.student.parents.join(", ")),
|
||||||
|
Detail(title: "school".i18n, description: user.student.school.name),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -9,6 +9,7 @@ extension Localization on String {
|
|||||||
"class": "Class",
|
"class": "Class",
|
||||||
"address": "Home address",
|
"address": "Home address",
|
||||||
"parents": "Parents".one("Parent"),
|
"parents": "Parents".one("Parent"),
|
||||||
|
"parents_phone": "Parents' phone number: ".one("Parent"),
|
||||||
},
|
},
|
||||||
"hu_hu": {
|
"hu_hu": {
|
||||||
"birthdate": "Születési dátum",
|
"birthdate": "Születési dátum",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user