TextInput constructor
const
TextInput({
- Key? key,
- TextEditingController? controller,
- TextInputType? keyboardType,
- dynamic onChanged()?,
- TextInputStyle textInputStyle = TextInputStyle.classic,
- String? hintText,
- IconData? prefixIcon,
- VoidCallback? onPrefixIconPressed,
- IconData? suffixIcon,
- VoidCallback? onSuffixIconPressed,
- String? validator()?,
- bool obscureText = false,
- 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,
});