NiceCaptcha constructor
- Key? key,
- NiceCaptchaProvider provider = NiceCaptchaProvider.custom,
- String? siteKey,
- void onVerify(
- String token
- VoidCallback? onExpire,
- void onError(
- dynamic error
- bool isDark = false,
- bool compact = false,
- Widget? customWidget,
Implementation
const NiceCaptcha({
super.key,
this.provider = NiceCaptchaProvider.custom,
this.siteKey,
this.onVerify,
this.onExpire,
this.onError,
this.isDark = false,
this.compact = false,
this.customWidget,
});