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(
      )?,
    1. String? errorText,
    2. TextEditingController? controller,
    3. Color? cursorColor,
    4. bool reduceContentPadding = false,
    5. Widget? perfixIcon,
    6. TextInputType? keyboardType,
    7. TextInputAction? textInputAction,
    8. FocusNode? focusNode,
    9. int? maxLength,
    10. int maxLines = 1,
    11. List<TextInputFormatter>? inputFormatters,
    12. String? label,
    13. bool enabled = true,
    14. bool isMandatory = false,
    15. Widget? suffixIcon,
    16. String? validator(
      1. String?
      )?,
    17. dynamic onSaved(
      1. String?
      )?}
    )

    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,
    }) : super(key: key);