CaptchaFormField constructor

const CaptchaFormField({
  1. Key? key,
  2. int captchaLength = 6,
  3. String? labelText = 'CAPTCHA',
  4. InputDecoration? inputDecoration,
  5. dynamic onChanged(
    1. String
    )?,
  6. String? validator(
    1. String? input,
    2. String generatedCaptcha
    )?,
  7. Color? captchaBackground,
  8. TextStyle? captchaTextStyle,
  9. CaptchaComplexity complexity = CaptchaComplexity.medium,
})

Creates a CAPTCHA form field.

Implementation

const CaptchaFormField({
  Key? key,
  this.captchaLength = 6,
  this.labelText = 'CAPTCHA',
  this.inputDecoration,
  this.onChanged,
  this.validator,
  this.captchaBackground,
  this.captchaTextStyle,
  this.complexity = CaptchaComplexity.medium,
}) : super(key: key);