CustomTextFormField constructor

CustomTextFormField({
  1. String? labelText,
  2. required String hintText,
  3. FormFieldValidator<String>? validator,
  4. TextEditingController? controller,
  5. ValueChanged<String>? onChanged,
  6. TextInputType? keyboardType,
  7. TextInputAction? textInputAction,
  8. bool obscureText = false,
  9. Widget? surfixWidget,
  10. Widget? rightWidget,
})

Implementation

CustomTextFormField({
  this.labelText,
  required this.hintText,
  this.validator,
  this.controller,
  this.onChanged,
  this.keyboardType,
  this.textInputAction,
  this.obscureText = false, this.surfixWidget, this.rightWidget,
});