CodeField constructor
const
CodeField({
- Key? key,
- int length = 6,
- TextStyle? labelStyle,
- TextStyle? textStyle,
- bool enabled = true,
- bool? filled,
- String? label,
- String? errorText,
- ValueChanged<
String> ? onChanged, - BorderRadius? borderRadius,
- List<
InputFeedbackText> ? feedback, - TextInputType? keyboardType,
- dynamic onSubmitted(
- String value
- TextInputAction textInputAction = material.TextInputAction.done,
- List<
TextInputFormatter> ? inputFormatters, - bool forceUppercase = false,
- WrapWidgetBuilder? innerBoxWrapper,
- String? value,
- String? hintText,
- bool forceErrorStyle = false,
- AlignmentGeometry fieldAlignment = Alignment.center,
- double inputBoxSize = 45,
- 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);