OtpCollectionV2 constructor
const
OtpCollectionV2({
- Key? key,
- required String heading,
- required String subheading,
- required Future<
void> resendOTPSMS(), - Future<
void> resendOTPWhatsapp()?, - required int expectedOtpLength,
- required bool isNumberOfAttemptsLimited,
- required int totalAttempts,
- required bool isWhatsappEnabled,
- required bool resendOtpOnlyViaEmail,
- String? optionalWarningText,
Implementation
const OtpCollectionV2({
super.key,
required this.heading,
required this.subheading,
required this.resendOTPSMS,
this.resendOTPWhatsapp,
required this.expectedOtpLength,
required this.isNumberOfAttemptsLimited,
required this.totalAttempts,
required this.isWhatsappEnabled,
required this.resendOtpOnlyViaEmail,
this.optionalWarningText,
});