onCustomGiveawayTermsAndConditionsClick property
This callback is triggered when the user clicks the giveaway terms and conditions link in livestream.
The host app can customize the click event processing logic of the giveaway terms and conditions link by setting the callback.
Implementation
CustomGiveawayTermsAndConditionsClickCallback?
get onCustomGiveawayTermsAndConditionsClick =>
_onCustomGiveawayTermsAndConditionsClick;
Implementation
set onCustomGiveawayTermsAndConditionsClick(
CustomGiveawayTermsAndConditionsClickCallback? value) {
_onCustomGiveawayTermsAndConditionsClick = value;
final nativeMethodName = LiveStreamNativeMethodName
.setCustomGiveawayTermsAndConditionsClickEnabled.name;
FWMethodChannelUtil.getLiveStreamMethodChannel().invokeMethod(
nativeMethodName,
value != null,
);
}