isCustomClickAllowed method
Checks whether custom tap gestures are enabled.
Sample code:
NativeAdController controller = NativeAdController();
// Use controller in NativeAd Widget...
NativeAd( adSlotId: _testAdSlotId, controller: controller)
bool? allowed = await controller.isCustomClickAllowed();
Implementation
Future<bool?> isCustomClickAllowed() async {
final bool? isAllowed = await _channel.invokeMethod(
'isCustomClickAllowed',
);
return isAllowed;
}