CustomTextField constructor

const CustomTextField({
  1. required TextEditingController controller,
  2. required String labelText,
  3. TextInputType keyboardType = TextInputType.text,
  4. List<TextInputFormatter>? inputFormatters,
  5. String? hintText,
  6. bool isLoading = false,
  7. String? errorText,
  8. 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,
});