CandyTextField constructor
const
CandyTextField({
- Key? key,
- required TextEditingController controller,
- String? hintText,
- IconData? prefixIcon,
- FormFieldValidator<
String> ? validator, - bool obscureText = false,
- TextInputType? keyboardType,
- ValueChanged<
String> ? onChanged, - Color? color,
Implementation
const CandyTextField({
super.key,
required this.controller,
this.hintText,
this.prefixIcon,
this.validator,
this.obscureText = false,
this.keyboardType,
this.onChanged,
this.color,
});