fix issue on add examination

merge-requests/617/head
Elham Rababah 5 years ago
parent 30bc9b4bea
commit 8e9687c2ed

@ -102,36 +102,56 @@ class _AddExaminationPageState extends State<AddExaminationPage> {
setState(() {
widget.mySelectedExamination
.add(selectedExamination);
});
},
});
},
),
],
),
),
],
),
),
),
],
),
bottomSheet: Container(
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(
Radius.circular(0.0),
),
border: Border.all(color: HexColor('#707070'), width: 0),
),
height: MediaQuery.of(context).size.height * 0.1,
width: double.infinity,
child: Column(
children: [
SizedBox(
height: 10,
),
Container(
child: FractionallySizedBox(
widthFactor: .80,
child: Center(
child: AppButton(
title:
"${TranslationBase.of(context).addExamination}",
padding: 10,
color: Color(0xFF359846),
onPressed: () {
widget.addSelectedExamination();
},
),
),
),
),
SizedBox(
height: 5,
),
],
),
),
),
Container(
padding: EdgeInsets.all(16),
color: Colors.white,
child: AppButton(
title:"${TranslationBase.of(context).addExamination}",
color: HexColor("#359846"),
fontColor: Colors.white,
vPadding: 12,
radius: 12,
fontWeight: FontWeight.w600,
fontSize: SizeConfig.textMultiplier * 2.5,
onPressed: () {
widget.addSelectedExamination();
},
),
)
],
),
),
);
));
}
isServiceSelected(MasterKeyModel masterKey) {

Loading…
Cancel
Save