PatternedInput constructor

const PatternedInput({
  1. Key? key,
  2. required List<InputType> pattern,
  3. ValueChanged<String>? onChanged,
  4. ValueChanged<String>? onComplete,
  5. InputDecoration? decoration,
  6. TextStyle? textStyle,
  7. double spacing = 8.0,
  8. double fieldWidth = 45.0,
  9. double fieldHeight = 45.0,
  10. bool autoFocus = true,
  11. 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,
});