ArcaneOtpInput.fourDigit constructor

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

Implementation

const ArcaneOtpInput.fourDigit({
  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,
}) : length = 4;