OtpInputProps constructor
const
OtpInputProps({
- int length = 6,
- List<
String> digits = const [], - bool obscure = false,
- OtpInputSizeVariant size = OtpInputSizeVariant.md,
- bool disabled = false,
- String? error,
- String? label,
- String? separator,
- int? separatorPosition,
- void onInput()?,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
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,
this.styles,
this.decoration,
});