PRODUCT static method
Implementation
static String PRODUCT(
String barcode, {
bool useHeroAnimation = true,
String? heroTag = '',
BackButtonType? backButtonType,
ProductPageTransition? transition = ProductPageTransition.standard,
}) =>
'/${_InternalAppRoutes.PRODUCT_DETAILS_PAGE}/${Uri.encodeComponent(barcode)}'
'?heroAnimation=$useHeroAnimation'
'&heroTag=${Uri.encodeQueryComponent(heroTag ?? '')}'
'&backButtonType=${Uri.encodeQueryComponent(backButtonType?.name ?? '')}'
'&transition=${Uri.encodeQueryComponent(transition?.name ?? '')}';