CaptchaFormField constructor
const
CaptchaFormField({
- Key? key,
- int captchaLength = 6,
- Duration captchaDuration = const Duration(minutes: 1),
- String? labelText = 'CAPTCHA',
- InputDecoration? inputDecoration,
- dynamic onChanged()?,
- String? validator()?,
- CaptchaComplexity captchaComplexity = CaptchaComplexity.medium,
- BoxDecoration? captchaBackground,
- TextStyle? captchaTextStyle,
- ThemeData? captchaTheme,
- String? requiredErrorMessage,
- String? mismatchErrorMessage,
Implementation
const CaptchaFormField({
Key? key,
this.captchaLength = 6,
this.captchaDuration = const Duration(minutes: 1),
this.labelText = 'CAPTCHA',
this.inputDecoration,
this.onChanged,
this.validator,
this.captchaComplexity = CaptchaComplexity.medium,
this.captchaBackground,
this.captchaTextStyle,
this.captchaTheme,
this.requiredErrorMessage,
this.mismatchErrorMessage,
}) : super(key: key);