fix button

merge-requests/340/head
Elham Rababh 3 years ago
parent b01961e45f
commit 8b8e239d3f

@ -224,10 +224,12 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
bottomSheet: Container(
color: Colors.transparent,
width: double.infinity,
height: MediaQuery.of(context).size.width * 0.2,
child: Padding(
padding: const EdgeInsets.all(15.0),
child: SecondaryButton(
height: MediaQuery.of(context).size.height * 0.10,
child: FractionallySizedBox(
widthFactor: 0.9,
child: Column(
children: [
SecondaryButton(
loading: widget.model.state == ViewState.BusyLocal,
label: TranslationBase.of(context).save.toUpperCase(),
textColor: Colors.white,
@ -258,6 +260,8 @@ class _AddBloodPressurePageState extends State<AddBloodPressurePage> {
});
}
}),
],
),
),
),
);

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

Loading…
Cancel
Save