CustomTextFormField constructor

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

Implementation

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