|
|
|
|
@ -97,7 +97,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|
route: PATIENT_SICKLEAVE,
|
|
|
|
|
name: TranslationBase.of(context).sickleave,
|
|
|
|
|
nameLine1: TranslationBase.of(context).sickleave,
|
|
|
|
|
nameLine2: "",
|
|
|
|
|
icon: 'sick_leaves_icons.png')),
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
@ -160,7 +161,12 @@ class PatientProfileButton extends StatelessWidget {
|
|
|
|
|
final PatiantInformtion patient;
|
|
|
|
|
final String url = "assets/images/";
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
{Key key, this.patient, this.nameLine1, this.nameLine2, this.icon, this.route})
|
|
|
|
|
{Key key,
|
|
|
|
|
this.patient,
|
|
|
|
|
this.nameLine1,
|
|
|
|
|
this.nameLine2,
|
|
|
|
|
this.icon,
|
|
|
|
|
this.route})
|
|
|
|
|
: super(key: key);
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
@ -174,18 +180,17 @@ class PatientProfileButton extends StatelessWidget {
|
|
|
|
|
Container(
|
|
|
|
|
alignment: Alignment.topLeft,
|
|
|
|
|
padding: EdgeInsets.all(5),
|
|
|
|
|
child:
|
|
|
|
|
Column(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
AppText(
|
|
|
|
|
this.nameLine1,
|
|
|
|
|
color: Color(0xFFB9382C),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
textAlign: TextAlign.left,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
AppText(
|
|
|
|
|
this.nameLine2,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|