onCustomTapProductCard property

CustomTapProductCardCallback? onCustomTapProductCard

This callback is triggered when the user clicks the product card on the video

The host app can customize the click event processing logic of the product card by setting the callback.

Implementation

CustomTapProductCardCallback? get onCustomTapProductCard =>
    _onCustomTapProductCard;
void onCustomTapProductCard=(CustomTapProductCardCallback? value)

Implementation

set onCustomTapProductCard(CustomTapProductCardCallback? value) {
  _onCustomTapProductCard = value;
  final nativeMethodName =
      ShoppingNativeMethodName.setCustomTapProductCardEnabled.name;
  FWMethodChannelUtil.getShoppingChannel().invokeMethod(
    nativeMethodName,
    value != null,
  );
}