ValidatedField constructor

const ValidatedField({
  1. Key? key,
  2. required SimpleValueCubit<ValidatedFieldState> fieldState,
  3. bool autoFocus = false,
  4. String hint = '',
  5. bool enabled = true,
  6. ValueChanged<String>? onSubmit,
  7. TextInputAction inputAction = TextInputAction.done,
  8. required GenericTextFieldStyle style,
  9. bool dottedLine = false,
  10. List<String>? autoFillHints,
  11. TextInputType? textInputType,
})

Implementation

const ValidatedField({
  super.key,
  required this.fieldState,
  this.autoFocus = false,
  this.hint = '',
  this.enabled = true,
  this.onSubmit,
  this.inputAction = TextInputAction.done,
  required this.style,
  this.dottedLine = false,
  this.autoFillHints,
  this.textInputType,
});