AuthTextField constructor
const
AuthTextField({
- Key? key,
- required TextEditingController controller,
- required String label,
- String? hint,
- IconData? prefixIcon,
- bool obscureText = false,
- TextInputType keyboardType = TextInputType.text,
- String? validator()?,
- Widget? suffixIcon,
Implementation
const AuthTextField({
super.key,
required this.controller,
required this.label,
this.hint,
this.prefixIcon,
this.obscureText = false,
this.keyboardType = TextInputType.text,
this.validator,
this.suffixIcon,
});