VerificationCodeInput constructor

const VerificationCodeInput({
  1. required VoidCallback onCompleted,
  2. required TextEditingController verificationCodeController,
  3. required bool isLoading,
  4. int length = 8,
  5. TextInputType keyboardType = TextInputType.text,
  6. LetterCase allowedLetterCase = LetterCase.mixed,
  7. Pattern? allowedCharactersPattern,
  8. FocusNode? focusNode,
  9. Key? key,
})

Creates a VerificationCodeInput widget.

Implementation

const VerificationCodeInput({
  required this.onCompleted,
  required this.verificationCodeController,
  required this.isLoading,
  this.length = 8,
  this.keyboardType = TextInputType.text,
  this.allowedLetterCase = LetterCase.mixed,
  this.allowedCharactersPattern,
  this.focusNode,
  super.key,
});