InputTextField constructor
const
InputTextField({
- Key? key,
- required TextEditingController textFieldWrapper,
- String? labelText,
- String? hintText,
- Widget? prefix,
- bool readOnly = false,
- dynamic onChanged()?,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - Widget? suffix,
- TextStyle? hintStyle,
- bool capitalize = false,
- int maxLines = 1,
- FocusNode? focusNode,
- Color? borderColor,
- EdgeInsets? contentPadding,
- TextAlign? textAlign,
- double borderRadius = 10,
- bool autoFocus = false,
- dynamic onSubmitted()?,
- bool obscureText = false,
- String errorText = "",
- int? maxLength,
- String? validator()?,
- Color? focusBorderColor,
- bool? isDense,
- VoidCallback? onTap,
- GlobalKey<
FormFieldState> ? formFieldKey, - TextStyle? labelStyle,
- TextStyle? textStyle,
Implementation
const InputTextField({
super.key,
required this.textFieldWrapper,
this.labelText,
this.hintText,
this.prefix,
this.readOnly = false,
this.onChanged,
this.keyboardType,
this.inputFormatters,
this.suffix,
this.hintStyle,
this.capitalize = false,
this.maxLines = 1,
this.focusNode,
this.borderColor,
this.contentPadding,
this.textAlign,
this.borderRadius = 10,
this.autoFocus = false,
this.onSubmitted,
this.obscureText = false,
this.errorText = "",
this.maxLength,
this.validator,
this.focusBorderColor,
this.isDense,
this.onTap,
this.formFieldKey,
this.labelStyle,
this.textStyle,
});