NiceCaptcha constructor

const NiceCaptcha({
  1. Key? key,
  2. NiceCaptchaProvider provider = NiceCaptchaProvider.custom,
  3. String? siteKey,
  4. void onVerify(
    1. String token
    )?,
  5. VoidCallback? onExpire,
  6. void onError(
    1. dynamic error
    )?,
  7. bool isDark = false,
  8. bool compact = false,
  9. 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,
});