|
|
|
|
@ -183,20 +183,6 @@ class AppBarWidget extends StatelessWidget with PreferredSizeWidget {
|
|
|
|
|
),
|
|
|
|
|
centerTitle: true,
|
|
|
|
|
actions: <Widget>[
|
|
|
|
|
isPharmacy
|
|
|
|
|
? IconButton(
|
|
|
|
|
icon: Icon(Icons.shopping_cart),
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => CartOrderPage()),
|
|
|
|
|
);
|
|
|
|
|
// Navigator.of(context)
|
|
|
|
|
// .popUntil(ModalRoute.withName('/'));
|
|
|
|
|
})
|
|
|
|
|
: Container(),
|
|
|
|
|
image != null
|
|
|
|
|
? InkWell(
|
|
|
|
|
onTap: () => Navigator.push(
|
|
|
|
|
|