CustomTextField constructor
const
CustomTextField({
- Key? key,
- required String hintText,
- String? svgIconPath,
- TextInputType keyboardType = TextInputType.text,
- bool obscureText = false,
- double borderRadius = 10,
- TextEditingController? controller,
- String? errorText,
- dynamic onChanged()?,
- List<
TextInputFormatter> ? inputFormatters, - TextCapitalization textCapitalization = TextCapitalization.none,
Implementation
const CustomTextField({
super.key,
required this.hintText,
this.svgIconPath,
this.keyboardType = TextInputType.text,
this.obscureText = false,
this.borderRadius = 10,
this.controller,
this.errorText,
this.onChanged,
this.inputFormatters,
this.textCapitalization = TextCapitalization.none,
});