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( AppScaffold(
isShowDecPage: false, isShowDecPage: false,
baseViewModel: model, baseViewModel: model,
body: Column( body: SingleChildScrollView(
child: Column(
children: [ children: [
Container( Container(
height: 400, height: 400,
@ -140,6 +141,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: 2,
),
),
);
},
child: Container( child: Container(
height: 50.0, height: 50.0,
width: 55.0, width: 55.0,
@ -160,6 +173,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
), ),
), ),
), ),
),
], ],
), ),
Row( Row(
@ -167,6 +181,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: 1,
),
),
);
},
child: Container( child: Container(
height: 50.0, height: 50.0,
width: 55.0, width: 55.0,
@ -186,6 +212,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
), ),
), ),
), ),
),
Expanded( Expanded(
child: Padding( child: Padding(
padding: EdgeInsets.all(4.0), padding: EdgeInsets.all(4.0),
@ -230,6 +257,7 @@ class _PharmacyCategorisePageState extends State<PharmacyCategorisePage> {
], ],
), ),
), ),
),
); );
} }

Loading…
Cancel
Save