OTPView constructor

const OTPView({
  1. Key? key,
  2. required int otpLength,
  3. required MonSMSPRO sms,
  4. required String token,
  5. required String phoneNumber,
  6. required Future retry(),
  7. required MonSmsProAuthStyle style,
  8. String? demoPhoneNumber,
  9. String? demoOTP,
})

Implementation

const OTPView({
  super.key,
  // required this.paddingSize,
  required this.otpLength,
  // required this.mainColor,
  // required this.buttonTextColor,
  required this.sms,
  required this.token,
  required this.phoneNumber,
  required this.retry,
  // required this.buttonRadius,
  required this.style,
  this.demoPhoneNumber,
  this.demoOTP,
});