added buttens in categories page

merge-update-with-lab-changes
Fatimah Alshammari 5 years ago
parent 4dcb70d7eb
commit 39daaa16a7

@ -35,7 +35,8 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
AppScaffold(
isShowDecPage: false,
baseViewModel: model,
body: Column(
body: SingleChildScrollView(
child: Column(
children: [
Container(
height: 400,
@ -140,6 +141,18 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
Expanded(
child: Padding(
padding: EdgeInsets.all(4.0),
child: InkWell(
onTap: () {
Navigator.push(
context,
FadePage(
page: FinalProductsPage(
id: "",
productType: 2,
),
),
);
},
child: Container(
height: 50.0,
width: 55.0,
@ -160,6 +173,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
),
),
),
),
],
),
Row(
@ -167,6 +181,18 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
Expanded(
child: Padding(
padding: EdgeInsets.all(4.0),
child: InkWell(
onTap: () {
Navigator.push(
context,
FadePage(
page: FinalProductsPage(
id: "",
productType: 1,
),
),
);
},
child: Container(
height: 50.0,
width: 55.0,
@ -186,6 +212,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
),
),
),
),
Expanded(
child: Padding(
padding: EdgeInsets.all(4.0),
@ -230,6 +257,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
],
),
),
),
);
}

Loading…
Cancel
Save