|
|
|
|
@ -424,24 +424,24 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
|
},
|
|
|
|
|
));
|
|
|
|
|
changeColorIndex();
|
|
|
|
|
|
|
|
|
|
patientCards.add(HomePatientCard(
|
|
|
|
|
gradient: backgroundColors[colorIndex],
|
|
|
|
|
backgroundIconColor: backgroundIconColors[colorIndex],
|
|
|
|
|
//TODO Elham* match the of the icon
|
|
|
|
|
cardIcon: DoctorApp.arrival_patients,
|
|
|
|
|
textColor: textColors[colorIndex],
|
|
|
|
|
text: TranslationBase.of(context).registerNewPatient,
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: RegisterPatientPage(),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
));
|
|
|
|
|
changeColorIndex();
|
|
|
|
|
//TODO Keep commented
|
|
|
|
|
// patientCards.add(HomePatientCard(
|
|
|
|
|
// gradient: backgroundColors[colorIndex],
|
|
|
|
|
// backgroundIconColor: backgroundIconColors[colorIndex],
|
|
|
|
|
// //TODO Elham* match the of the icon
|
|
|
|
|
// cardIcon: DoctorApp.arrival_patients,
|
|
|
|
|
// textColor: textColors[colorIndex],
|
|
|
|
|
// text: TranslationBase.of(context).registerNewPatient,
|
|
|
|
|
// onTap: () {
|
|
|
|
|
// Navigator.push(
|
|
|
|
|
// context,
|
|
|
|
|
// FadePage(
|
|
|
|
|
// page: RegisterPatientPage(),
|
|
|
|
|
// ),
|
|
|
|
|
// );
|
|
|
|
|
// },
|
|
|
|
|
// ));
|
|
|
|
|
// changeColorIndex();
|
|
|
|
|
|
|
|
|
|
patientCards.add(HomePatientCard(
|
|
|
|
|
gradient: backgroundColors[colorIndex],
|
|
|
|
|
|