VerificationCodeConfig class

Configuration for verification code input.

Constructors

VerificationCodeConfig({int length = 8, TextInputType keyboardType = TextInputType.text, LetterCase allowedLetterCase = LetterCase.lowercase, Duration resendCountdownDuration = const Duration(minutes: 1), Pattern? allowedCharactersPattern})
Creates a VerificationCodeConfig with the given parameters.
const
VerificationCodeConfig.numbersOnly({required int length})
Creates a VerificationCodeConfig to use with numbers only.
factory

Properties

allowedCharactersPattern Pattern?
A pattern of the allowed characters in the verification code input.
final
allowedLetterCase LetterCase
The case of letters allowed in the verification code input.
final
hashCode int
The hash code for this object.
no setterinherited
keyboardType TextInputType
The keyboard type to use for the verification code input.
final
length int
The length of the verification code.
final
resendCountdownDuration Duration
The duration of the countdown timer for resending the code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited