OtpInputField constructor

const OtpInputField({
  1. Key? key,
  2. int length = 6,
  3. required ValueChanged<String> onCompleted,
  4. double spacing = 8,
  5. double boxSize = 48,
  6. TextStyle? textStyle,
  7. BoxDecoration? boxDecoration,
  8. TextEditingController? controller,
})

Implementation

const OtpInputField({
  super.key,
  this.length = 6,
  required this.onCompleted,
  this.spacing = 8,
  this.boxSize = 48,
  this.textStyle,
  this.boxDecoration,
  this.controller,
});