search screen updated

merge-requests/361/head
Sultan Khan 5 years ago
parent 4fa3e260ac
commit 93caeb3876

@ -129,20 +129,18 @@ class _MedicineSearchState extends State<MedicineSearchScreen> {
widthFactor: 0.97, widthFactor: 0.97,
child: SingleChildScrollView( child: SingleChildScrollView(
child: Container( child: Container(
color: Colors.white,
// height: SizeConfig.screenHeight, // height: SizeConfig.screenHeight,
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <Widget>[ children: <Widget>[
SizedBox( SizedBox(height: 100),
height: SizeConfig.screenHeight * .16,
),
Column(children: [ Column(children: [
FractionallySizedBox( FractionallySizedBox(
widthFactor: 0.9, widthFactor: 0.9,
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
Container( Container(
// height: MediaQuery.of(context).size.height * 0.070,
child: InkWell( child: InkWell(
onTap: model.allMedicationList != null onTap: model.allMedicationList != null
? () { ? () {
@ -209,7 +207,7 @@ class _MedicineSearchState extends State<MedicineSearchScreen> {
) )
]), ]),
SizedBox( SizedBox(
height: SizeConfig.screenHeight * .5, height: SizeConfig.screenHeight * .55,
), ),
Column( Column(
children: [ children: [

@ -52,6 +52,7 @@ class _SearchMedicinePatientScreen extends State<SearchMedicinePatientScreen>
height: 60.0, height: 60.0,
color: Colors.white, color: Colors.white,
margin: EdgeInsets.only(top: 10.0), margin: EdgeInsets.only(top: 10.0),
width: MediaQuery.of(context).size.width, // 0.9, width: MediaQuery.of(context).size.width, // 0.9,
// decoration: BoxDecoration( // decoration: BoxDecoration(
// border: Border( // border: Border(

@ -510,7 +510,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
), ),
]) ])
: SizedBox( : SizedBox(
height: SizeConfig.screenHeight * .4, height: SizeConfig.screenHeight * .45,
), ),
], ],
), ),

Loading…
Cancel
Save