VerificationCodeConfig.numbersOnly constructor
VerificationCodeConfig.numbersOnly({
- required int length,
Creates a VerificationCodeConfig to use with numbers only.
Implementation
factory VerificationCodeConfig.numbersOnly({required int length}) =>
VerificationCodeConfig(
length: length,
keyboardType: TextInputType.number,
allowedLetterCase: LetterCase.lowercase,
allowedCharactersPattern: RegExp(r'[0-9]'),
);