PinCodeInput constructor

const PinCodeInput({
  1. Key? key,
  2. required String currentPin,
  3. int pinLength = 5,
  4. PinInputStyle style = PinInputStyle.boxes,
  5. bool hasError = false,
  6. double? itemSize,
  7. double spacing = 12,
})

Implementation

const PinCodeInput({
  super.key,
  required this.currentPin,
  this.pinLength = 5,
  this.style = PinInputStyle.boxes,
  this.hasError = false,
  this.itemSize,
  this.spacing = 12,
});