NicePinCodeInput constructor

const NicePinCodeInput({
  1. Key? key,
  2. int length = 6,
  3. void onCompleted(
    1. String
    )?,
  4. void onChanged(
    1. String
    )?,
  5. bool obscureText = false,
  6. bool autofocus = false,
  7. TextInputType keyboardType = TextInputType.number,
  8. double boxWidth = 48,
  9. double boxHeight = 56,
  10. double spacing = 12,
  11. NicePinCodeStyle? style,
  12. bool enabled = true,
  13. String? errorText,
})

Implementation

const NicePinCodeInput({
  super.key,
  this.length = 6,
  this.onCompleted,
  this.onChanged,
  this.obscureText = false,
  this.autofocus = false,
  this.keyboardType = TextInputType.number,
  this.boxWidth = 48,
  this.boxHeight = 56,
  this.spacing = 12,
  this.style,
  this.enabled = true,
  this.errorText,
});