onCustomClickLinkButton property
CustomClickLinkButtonCallback?
onCustomClickLinkButton
This callback is triggered when the user clicks the link button next to Add to cart button.
The host app can customize the click event processing logic of the link button by setting the callback.
Implementation
CustomClickLinkButtonCallback? get onCustomClickLinkButton =>
_onCustomClickLinkButton;
Implementation
set onCustomClickLinkButton(CustomClickLinkButtonCallback? value) {
_onCustomClickLinkButton = value;
final nativeMethodName =
ShoppingNativeMethodName.setCustomClickLinkButtonEnabled.name;
FWMethodChannelUtil.getShoppingChannel().invokeMethod(
nativeMethodName,
value != null,
);
}