TextInput constructor

const TextInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. TextInputType? keyboardType,
  4. dynamic onChanged(
    1. String
    )?,
  5. TextInputStyle textInputStyle = TextInputStyle.classic,
  6. String? hintText,
  7. IconData? prefixIcon,
  8. VoidCallback? onPrefixIconPressed,
  9. IconData? suffixIcon,
  10. VoidCallback? onSuffixIconPressed,
  11. String? validator(
    1. String?
    )?,
  12. bool obscureText = false,
  13. List<String>? autofillHints,
})

Implementation

const TextInput({
  super.key,
  this.controller,
  this.keyboardType,
  this.onChanged,
  this.textInputStyle = TextInputStyle.classic,
  this.hintText,
  this.prefixIcon,
  this.onPrefixIconPressed,
  this.suffixIcon,
  this.onSuffixIconPressed,
  this.validator,
  this.obscureText = false,
  this.autofillHints,
});