ResponsiveInput constructor
const
ResponsiveInput({
- Key? key,
- String? labelText,
- String? hintText,
- double fontSize = 14,
- String? initialValue,
- TextEditingController? controller,
- bool enabled = true,
- bool obscureText = false,
- AutovalidateMode? autoValidateMode,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- TextStyle? errorStyle,
- TextStyle? labelStyle,
- TextInputType keyboardType = TextInputType.text,
- String? validator()?,
- int maxLength = 50,
- List<
TextInputFormatter> ? inputFormatter, - void onSaved()?,
- void onChanged()?,
- bool isDense = true,
- IconData? suffixIconData,
- IconData? prefixIconData,
- Color? iconColor,
- Color? prefixIconColor,
- void onIconPressed()?,
- bool readOnly = false,
- void onTap()?,
Implementation
const ResponsiveInput({
Key? key,
this.labelText,
this.hintText,
this.fontSize = 14,
this.initialValue,
this.controller,
this.enabled = true,
this.obscureText = false,
this.autoValidateMode,
this.textStyle,
this.hintStyle,
this.errorStyle,
this.labelStyle,
this.keyboardType = TextInputType.text,
this.validator,
this.maxLength = 50,
this.inputFormatter,
this.onSaved,
this.onChanged,
this.isDense = true,
this.suffixIconData,
this.prefixIconData,
this.iconColor,
this.prefixIconColor,
this.onIconPressed,
this.readOnly = false,
this.onTap,
}) : super(key: key);