XTextFormFieldWithDD constructor

XTextFormFieldWithDD({
  1. String? label,
  2. String hintText = '',
  3. Color? focusColor,
  4. Color? fillColor,
  5. InputBorder? focusedBorder,
  6. Color? colorBorder,
  7. String? labelDD,
  8. bool borderVisible = true,
  9. String? hintTextDD,
  10. Mode? modeDD,
  11. bool? showClearButton = true,
  12. InputBorder? border,
  13. Widget? suffixIcon,
  14. EdgeInsetsGeometry? contentPadding,
  15. bool? isDenseTextFormField = true,
  16. InputBorder? enabledBorder,
  17. InputBorder? disabledBorder,
  18. FloatingLabelBehavior? floatingLabelBehaviorActive,
  19. TextStyle? hintStyle,
  20. TextStyle? labelStyle,
  21. Function? onEditingComplete,
  22. String? initialValue,
  23. List<String>? ddItems,
  24. List<TextInputFormatter>? inputFormatters,
  25. bool isVisibleBTNsave = false,
  26. bool isVisibleDropDown = false,
  27. TextEditingController? controller,
  28. Function? onPressedBTNSave,
  29. double? width,
  30. Color? textColor,
  31. GestureTapCallback? onTap,
  32. int? maxLines,
  33. double? height,
  34. double maxHeight = 500,
  35. bool showSearchBox = false,
  36. ValueChanged<String>? onChanged,
  37. ValueChanged<String?>? onChangedDropDown,
  38. bool multiLines = false,
  39. TextInputType keyboardType = TextInputType.text,
  40. TextInputAction textInputAction = TextInputAction.next,
  41. dynamic onFieldSubmitted(
    1. String?
    )?,
  42. dynamic onSaved(
    1. String?
    )?,
  43. Function? validator,
  44. FocusNode? focusNode,
  45. AutovalidateMode? autovalidateMode,
  46. int? maxLenght,
  47. bool autoFocus = false,
  48. bool isPassword = false,
})

Implementation

XTextFormFieldWithDD(
    {this.label,
    this.hintText = '',
    this.focusColor,
    this.fillColor,
    this.focusedBorder,
    this.colorBorder,
    this.labelDD,
    this.borderVisible = true,
    this.hintTextDD,
    this.modeDD,
    this.showClearButton = true,
    this.border,
    this.suffixIcon,
    this.contentPadding,
    this.isDenseTextFormField = true,
    this.enabledBorder,
    this.disabledBorder,
    this.floatingLabelBehaviorActive,
    this.hintStyle,
    this.labelStyle,
    this.onEditingComplete,
    this.initialValue,
    this.ddItems,
    this.inputFormatters,
    this.isVisibleBTNsave = false,
    this.isVisibleDropDown = false,
    this.controller,
    this.onPressedBTNSave,
    this.width,
    this.textColor,
    this.onTap,
    this.maxLines,
    this.height,
    this.maxHeight = 500,
    this.showSearchBox = false,
    this.onChanged,
    this.onChangedDropDown,
    this.multiLines = false,
    this.keyboardType = TextInputType.text,
    this.textInputAction = TextInputAction.next,
    this.onFieldSubmitted,
    this.onSaved,
    this.validator,
    this.focusNode,
    this.autovalidateMode,
    this.maxLenght,
    this.autoFocus = false,
    this.isPassword = false});