CustomTextField constructor
const
CustomTextField({
- required TextEditingController controller,
- required String labelText,
- TextInputType keyboardType = TextInputType.text,
- List<
TextInputFormatter> ? inputFormatters, - String? hintText,
- bool isLoading = false,
- String? errorText,
- Key? key,
Creates an CustomTextField.
Implementation
const CustomTextField({
required this.controller,
required this.labelText,
this.keyboardType = TextInputType.text,
this.inputFormatters,
this.hintText,
this.isLoading = false,
this.errorText,
super.key,
});