OtpInputProps constructor

const OtpInputProps({
  1. int length = 6,
  2. List<String> digits = const [],
  3. bool obscure = false,
  4. OtpInputSizeVariant size = OtpInputSizeVariant.md,
  5. bool disabled = false,
  6. String? error,
  7. String? label,
  8. String? separator,
  9. int? separatorPosition,
  10. void onInput(
    1. int index,
    2. String value
    )?,
})

Implementation

const OtpInputProps({
  this.length = 6,
  this.digits = const [],
  this.obscure = false,
  this.size = OtpInputSizeVariant.md,
  this.disabled = false,
  this.error,
  this.label,
  this.separator,
  this.separatorPosition,
  this.onInput,
});