showProduct method

Future showProduct(
  1. BuildContext context, {
  2. required ProductData data,
  3. required int? customerID,
})

Implementation

Future showProduct(BuildContext context,  {required ProductData data, required int? customerID}) async {
  await Storage.saveValue(Constants.customerID, customerID.toString());
  await Utils.navigationPush(
      context,
      ShopItemDetail(
        data: data,
        shopContext: this,
      ));
}