VerificationCodeConfig constructor

const VerificationCodeConfig({
  1. int length = 8,
  2. TextInputType keyboardType = TextInputType.text,
  3. LetterCase allowedLetterCase = LetterCase.lowercase,
  4. Duration resendCountdownDuration = const Duration(minutes: 1),
  5. Pattern? allowedCharactersPattern,
})

Creates a VerificationCodeConfig with the given parameters.

Implementation

const VerificationCodeConfig({
  this.length = 8,
  this.keyboardType = TextInputType.text,
  this.allowedLetterCase = LetterCase.lowercase,
  this.resendCountdownDuration = const Duration(minutes: 1),
  this.allowedCharactersPattern,
});