CodeField constructor

const CodeField({
  1. Key? key,
  2. int length = 6,
  3. TextStyle? labelStyle,
  4. TextStyle? textStyle,
  5. bool enabled = true,
  6. bool? filled,
  7. String? label,
  8. String? errorText,
  9. ValueChanged<String>? onChanged,
  10. BorderRadius? borderRadius,
  11. List<InputFeedbackText>? feedback,
  12. TextInputType? keyboardType,
  13. dynamic onSubmitted(
    1. String value
    )?,
  14. TextInputAction textInputAction = material.TextInputAction.done,
  15. List<TextInputFormatter>? inputFormatters,
  16. bool forceUppercase = false,
  17. WrapWidgetBuilder? innerBoxWrapper,
  18. String? value,
  19. String? hintText,
  20. bool forceErrorStyle = false,
  21. AlignmentGeometry fieldAlignment = Alignment.center,
  22. double inputBoxSize = 45,
  23. TextCapitalization textCapitalization = material.TextCapitalization.none,
})

Implementation

const CodeField({
  Key? key,
  this.length = 6,
  this.labelStyle,
  this.textStyle,
  this.enabled = true,
  this.filled,
  this.label,
  this.errorText,
  this.onChanged,
  this.borderRadius,
  this.feedback,
  this.keyboardType,
  this.onSubmitted,
  this.textInputAction = material.TextInputAction.done,
  this.inputFormatters,
  this.forceUppercase = false,
  this.innerBoxWrapper,
  this.value,
  this.hintText,
  this.forceErrorStyle = false,
  this.fieldAlignment = Alignment.center,
  this.inputBoxSize = 45,
  this.textCapitalization = material.TextCapitalization.none,
}) : super(key: key);