CustomTextFormField constructor

CustomTextFormField({
  1. Key? key,
  2. String? hintText,
  3. bool? obscureText,
  4. dynamic onChanged(
    1. String val
    )?,
  5. dynamic onDone(
    1. String val
    )?,
  6. dynamic onEditingComplete()?,
  7. String? errorText,
  8. TextEditingController? controller,
  9. Color? cursorColor,
  10. bool reduceContentPadding = false,
  11. Widget? perfixIcon,
  12. TextInputType? keyboardType,
  13. TextInputAction? textInputAction,
  14. FocusNode? focusNode,
  15. int? maxLength,
  16. int maxLines = 1,
  17. List<TextInputFormatter>? inputFormatters,
  18. String? label,
  19. bool enabled = true,
  20. bool isMandatory = false,
  21. Widget? suffixIcon,
  22. String? validator(
    1. String?
    )?,
  23. dynamic onSaved(
    1. String?
    )?,
  24. Color? fillColor,
  25. bool showLabelAboveField = true,
})

Implementation

CustomTextFormField({
  Key? key,
  this.hintText,
  this.obscureText,
  this.onChanged,
  this.onDone,
  this.onEditingComplete,
  this.errorText,
  this.controller,
  this.cursorColor,
  this.reduceContentPadding = false,
  this.perfixIcon,
  this.keyboardType,
  this.textInputAction,
  this.focusNode,
  this.maxLength,
  this.maxLines = 1,
  this.inputFormatters,
  this.label,
  this.enabled = true,
  this.isMandatory = false,
  this.suffixIcon,
  this.validator,
  this.onSaved,
  this.fillColor,
  this.showLabelAboveField = true,
}) : super(key: key);