AuthTextField constructor

const AuthTextField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String label,
  4. String? hint,
  5. IconData? prefixIcon,
  6. bool obscureText = false,
  7. TextInputType keyboardType = TextInputType.text,
  8. String? validator(
    1. String?
    )?,
  9. 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,
});