OudsDigitInput constructor

OudsDigitInput({
  1. Key? key,
  2. required int index,
  3. bool isError = false,
  4. OudsDigitInputDecoration? digitInputDecoration,
  5. TextEditingController? controller,
  6. FocusNode? focusNode,
  7. bool isHovered = false,
  8. void onChanged(
    1. String,
    2. int
    )?,
  9. OudsPinCodeInputLength length = OudsPinCodeInputLength.six,
})

Implementation

OudsDigitInput({
  super.key,
  required this.index,
  this.isError = false,
  this.digitInputDecoration,
  this.controller,
  this.focusNode,
  this.isHovered = false,
  this.onChanged,
  this.length = OudsPinCodeInputLength.six,
});