InputOtp constructor

const InputOtp({
  1. Key? key,
  2. dynamic onCompleted(
    1. String
    )?,
  3. dynamic onChanged(
    1. String
    )?,
  4. FormFieldValidator<String>? validator,
  5. int length = 6,
  6. bool autofocus = true,
  7. bool disabledErrorText = false,
  8. bool validateOnChange = false,
})

Implementation

const InputOtp({
  super.key,
  this.onCompleted,
  this.onChanged,
  this.validator,
  this.length = 6,
  this.autofocus = true,
  this.disabledErrorText = false,
  this.validateOnChange = false,
});