Merge branch 'development' of https://gitlab.com/Cloud_Solution/diplomatic-quarter into sultan-patientapp

merge-update-with-lab-changes
Sultan Khan 5 years ago
commit c9fe036b99

@ -48,8 +48,8 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
int measuredArm = 1; int measuredArm = 1;
bool isButtonDisabled = false; bool isButtonDisabled = false;
final List<String> measureTimeEnList = [ final List<String> measureTimeEnList = [
'Left arm ', 'Left Arm ',
'Right arm', 'Right Arm',
]; ];
final List<String> measureTimeArList = [ final List<String> measureTimeArList = [
'الذراع الأيسر', 'الذراع الأيسر',
@ -144,7 +144,7 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
), ),
InkWell( InkWell(
onTap: () { onTap: () {
confirmSelectMeasureTimeDialog(!projectViewModel.isArabic ? measureTimeArList : measureTimeEnList); confirmSelectMeasureTimeDialog(projectViewModel.isArabic ? measureTimeArList : measureTimeEnList);
}, },
child: Container( child: Container(
padding: EdgeInsets.all(12), padding: EdgeInsets.all(12),
@ -224,10 +224,12 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
bottomSheet: Container( bottomSheet: Container(
color: Colors.transparent, color: Colors.transparent,
width: double.infinity, width: double.infinity,
height: MediaQuery.of(context).size.width * 0.2, height: MediaQuery.of(context).size.height * 0.10,
child: Padding( child: FractionallySizedBox(
padding: const EdgeInsets.all(15.0), widthFactor: 0.9,
child: SecondaryButton( child: Column(
children: [
SecondaryButton(
loading: widget.model.state == ViewState.BusyLocal, loading: widget.model.state == ViewState.BusyLocal,
label: TranslationBase.of(context).save.toUpperCase(), label: TranslationBase.of(context).save.toUpperCase(),
textColor: Colors.white, textColor: Colors.white,
@ -258,6 +260,8 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
}); });
} }
}), }),
],
),
), ),
), ),
); );

@ -275,9 +275,11 @@ class _AddBloodSugarPageState extends State<AddBloodSugarPage> {
bottomSheet: Container( bottomSheet: Container(
color: Colors.transparent, color: Colors.transparent,
width: double.infinity, width: double.infinity,
height: MediaQuery.of(context).size.width * 0.2, height: MediaQuery.of(context).size.height * 0.10,
child: Padding( child: Column(
padding: const EdgeInsets.all(15.0), children: [
FractionallySizedBox(
widthFactor: 0.9,
child: SecondaryButton( child: SecondaryButton(
label: TranslationBase.of(context).save.toUpperCase(), label: TranslationBase.of(context).save.toUpperCase(),
textColor: Colors.white, textColor: Colors.white,
@ -328,6 +330,8 @@ class _AddBloodSugarPageState extends State<AddBloodSugarPage> {
} }
}), }),
), ),
],
),
), ),
); );
} }

Loading…
Cancel
Save