ArcaneOtpInput constructor

const ArcaneOtpInput({
  1. int length = 6,
  2. void onComplete(
    1. String
    )?,
  3. void onChange(
    1. String
    )?,
  4. String? value,
  5. bool obscure = false,
  6. OtpInputSize size = OtpInputSize.md,
  7. bool disabled = false,
  8. String? error,
  9. String? label,
  10. String? separator,
  11. int? separatorPosition,
  12. Key? key,
})

Implementation

const ArcaneOtpInput({
  this.length = 6,
  this.onComplete,
  this.onChange,
  this.value,
  this.obscure = false,
  this.size = OtpInputSize.md,
  this.disabled = false,
  this.error,
  this.label,
  this.separator,
  this.separatorPosition,
  super.key,
});