|
|
|
@ -37,7 +37,8 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
baseViewModel: model,
|
|
|
|
baseViewModel: model,
|
|
|
|
body: Column(
|
|
|
|
body: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Expanded(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
height: 400,
|
|
|
|
height: 400,
|
|
|
|
margin: EdgeInsets.only(bottom: 22),
|
|
|
|
margin: EdgeInsets.only(bottom: 22),
|
|
|
|
child: GridView.builder(
|
|
|
|
child: GridView.builder(
|
|
|
|
@ -87,6 +88,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
height: 140,
|
|
|
|
height: 140,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
@ -110,7 +112,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
FadePage(
|
|
|
|
FadePage(
|
|
|
|
page: FinalProductsPage(
|
|
|
|
page: FinalProductsPage(
|
|
|
|
id: "",
|
|
|
|
id: "",
|
|
|
|
productType: 4,
|
|
|
|
productType: 6,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
@ -140,6 +142,18 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
|
|
|
|
child: InkWell(
|
|
|
|
|
|
|
|
onTap: () {
|
|
|
|
|
|
|
|
Navigator.push(
|
|
|
|
|
|
|
|
context,
|
|
|
|
|
|
|
|
FadePage(
|
|
|
|
|
|
|
|
page: FinalProductsPage(
|
|
|
|
|
|
|
|
id: "",
|
|
|
|
|
|
|
|
productType: 4,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
height: 50.0,
|
|
|
|
height: 50.0,
|
|
|
|
width: 55.0,
|
|
|
|
width: 55.0,
|
|
|
|
@ -149,7 +163,8 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
borderRadius: BorderRadius.circular(5.0),
|
|
|
|
borderRadius: BorderRadius.circular(5.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
padding:
|
|
|
|
|
|
|
|
EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
child: Texts(
|
|
|
|
child: Texts(
|
|
|
|
projectViewModel.isArabic
|
|
|
|
projectViewModel.isArabic
|
|
|
|
? 'الاكثر مشاهدة'
|
|
|
|
? 'الاكثر مشاهدة'
|
|
|
|
@ -160,6 +175,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|
@ -167,6 +183,18 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
|
|
|
|
child: InkWell(
|
|
|
|
|
|
|
|
onTap: () {
|
|
|
|
|
|
|
|
Navigator.push(
|
|
|
|
|
|
|
|
context,
|
|
|
|
|
|
|
|
FadePage(
|
|
|
|
|
|
|
|
page: FinalProductsPage(
|
|
|
|
|
|
|
|
id: "",
|
|
|
|
|
|
|
|
productType: 5,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
height: 50.0,
|
|
|
|
height: 50.0,
|
|
|
|
width: 55.0,
|
|
|
|
width: 55.0,
|
|
|
|
@ -175,7 +203,8 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
borderRadius: BorderRadius.circular(5.0),
|
|
|
|
borderRadius: BorderRadius.circular(5.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
padding:
|
|
|
|
|
|
|
|
EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
child: Texts(
|
|
|
|
child: Texts(
|
|
|
|
projectViewModel.isArabic
|
|
|
|
projectViewModel.isArabic
|
|
|
|
? 'منتجات جديدة'
|
|
|
|
? 'منتجات جديدة'
|
|
|
|
@ -186,6 +215,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
padding: EdgeInsets.all(4.0),
|
|
|
|
|