sick leave

merge-requests/197/head
Sultan Khan 5 years ago
parent 97d915ef99
commit 76e10459e0

@ -149,7 +149,8 @@ class _SickLeaveScreenState extends State<SickLeaveScreen> {
ignoring: true,
child: DropdownButton(
isExpanded: true,
value: getClinicName(model),
value: getClinicName(model) ??
"",
iconSize: 40,
elevation: 16,
selectedItemBuilder:

@ -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,

Loading…
Cancel
Save