ValidatedField constructor
const
ValidatedField({
- Key? key,
- required SimpleValueCubit<
ValidatedFieldState> fieldState, - bool autoFocus = false,
- String hint = '',
- bool enabled = true,
- ValueChanged<
String> ? onSubmit, - TextInputAction inputAction = TextInputAction.done,
- required GenericTextFieldStyle style,
- bool dottedLine = false,
- List<
String> ? autoFillHints, - 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,
});