|
|
|
@ -457,15 +457,20 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 10,
|
|
|
|
height: 10,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
new Container(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
height: 130,
|
|
|
|
children: <Widget>[
|
|
|
|
child: new ListView(
|
|
|
|
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
HomePageCard(
|
|
|
|
HomePageCard(
|
|
|
|
color: Colors.red[800],
|
|
|
|
color: Colors.red[800],
|
|
|
|
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
mainAxisAlignment:
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
@ -500,9 +505,12 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
HomePageCard(
|
|
|
|
HomePageCard(
|
|
|
|
color: Colors.grey[300],
|
|
|
|
color: Colors.grey[300],
|
|
|
|
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
mainAxisAlignment:
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
@ -537,9 +545,12 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
HomePageCard(
|
|
|
|
HomePageCard(
|
|
|
|
color: Colors.black,
|
|
|
|
color: Colors.black,
|
|
|
|
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
mainAxisAlignment:
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
@ -569,19 +580,15 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
SearchMedicinePatientScreen(),
|
|
|
|
SearchMedicinePatientScreen(),
|
|
|
|
));
|
|
|
|
));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 10,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
HomePageCard(
|
|
|
|
HomePageCard(
|
|
|
|
color: Colors.black,
|
|
|
|
color: Colors.red[800],
|
|
|
|
|
|
|
|
margin: EdgeInsets.all(5),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
mainAxisAlignment:
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
@ -594,7 +601,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
padding: EdgeInsets.all(10),
|
|
|
|
padding: EdgeInsets.all(10),
|
|
|
|
child: AppText(
|
|
|
|
child: AppText(
|
|
|
|
TranslationBase.of(context).inPatient,
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.inPatient,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
textAlign: TextAlign.start,
|
|
|
|
textAlign: TextAlign.start,
|
|
|
|
fontSize: 13,
|
|
|
|
fontSize: 13,
|
|
|
|
@ -613,11 +621,25 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
])),
|
|
|
|
),
|
|
|
|
// Row(
|
|
|
|
SizedBox(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
height: 20,
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
),
|
|
|
|
// children: <Widget>[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// SizedBox(
|
|
|
|
|
|
|
|
// height: 10,
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// Row(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// SizedBox(
|
|
|
|
|
|
|
|
// height: 20,
|
|
|
|
|
|
|
|
// ),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceAround,
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceAround,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|