UserTextField constructor
const
UserTextField({
- Key? key,
- required TextEditingController controller,
- required String hint,
- required IconData prefixIcon,
- bool isPassword = false,
- bool obscureText = false,
- VoidCallback? onToggleVisibility,
- TextInputType keyboardType = TextInputType.text,
Implementation
const UserTextField({
super.key,
required this.controller,
required this.hint,
required this.prefixIcon,
this.isPassword = false,
this.obscureText = false,
this.onToggleVisibility,
this.keyboardType = TextInputType.text,
});