OTPView constructor

const OTPView({
  1. Key? key,
  2. int otpCount = 6,
  3. TextEditingController? controller,
  4. dynamic onSubmit(
    1. String otp
    )?,
  5. required OTPStyle style,
})

Implementation

const OTPView({
  super.key,
  this.otpCount = 6,
  this.controller,
  this.onSubmit,
  required this.style,
});