VoiceFormField constructor
const
VoiceFormField({
- Key? key,
- required TextEditingController controller,
- String? hint,
- int? height,
- int? width,
- int fontSize = 16,
- Color borderColor = Colors.blue,
- String? label,
- bool enableVoice = false,
- int? maxLines = 1,
- int? minLines = 1,
- int? errorMaxLines = 1,
- TextInputType? keyboardType,
- IconButton? suffixIconButton,
- bool? autofocus = false,
- bool? autocorrect = false,
- TextInputAction? textInputAction,
- AutovalidateMode? autoValidateMode,
- EdgeInsets? padding,
- InputBorder? enabledBorder,
- InputBorder? border,
- InputBorder? focusedErrorBorder,
- InputBorder? focusedBorder,
- InputBorder? errorBorder,
- InputBorder? disabledBorder,
- String? validator()?,
- required FormFieldType fieldType,
- required String fieldId,
- dynamic onMicTap(
- String fieldId
Implementation
const VoiceFormField({
super.key,
required this.controller,
this.hint,
this.height,
this.width,
this.fontSize = 16,
this.borderColor = Colors.blue,
this.label,
this.enableVoice = false,
this.maxLines = 1,
this.minLines = 1,
this.errorMaxLines = 1,
this.keyboardType,
this.suffixIconButton,
this.autofocus = false,
this.autocorrect = false,
this.textInputAction,
this.autoValidateMode,
this.padding,
this.enabledBorder,
this.border,
this.focusedErrorBorder,
this.focusedBorder,
this.errorBorder,
this.disabledBorder,
this.validator,
required this.fieldType,
required this.fieldId,
this.onMicTap,
});