NiceInputOtp constructor

const NiceInputOtp({
  1. Key? key,
  2. int length = 6,
  3. ValueChanged<String>? onCompleted,
  4. ValueChanged<String>? onChanged,
  5. bool obscureText = false,
  6. TextInputType inputType = TextInputType.number,
  7. bool autoFocus = true,
  8. bool readOnly = false,
  9. bool filled = true,
  10. double fieldSize = 48.0,
  11. double gap = 8.0,
  12. String hintChar = '○',
  13. String? errorText,
  14. String? label,
})

Implementation

const NiceInputOtp({
  super.key,
  this.length = 6,
  this.onCompleted,
  this.onChanged,
  this.obscureText = false,
  this.inputType = TextInputType.number,
  this.autoFocus = true,
  this.readOnly = false,
  this.filled = true,
  this.fieldSize = 48.0,
  this.gap = 8.0,
  this.hintChar = '○',
  this.errorText,
  this.label,
});