PatternedInput constructor
const
PatternedInput({
- Key? key,
- required List<
InputType> pattern, - ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onComplete, - InputDecoration? decoration,
- TextStyle? textStyle,
- double spacing = 8.0,
- double fieldWidth = 45.0,
- double fieldHeight = 45.0,
- bool autoFocus = true,
- PatternedInputController? controller,
Implementation
const PatternedInput({
super.key,
required this.pattern,
this.onChanged,
this.onComplete,
this.decoration,
this.textStyle,
this.spacing = 8.0,
this.fieldWidth = 45.0,
this.fieldHeight = 45.0,
this.autoFocus = true,
this.controller,
});