XTextFormField constructor

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

Implementation

XTextFormField(
    {this.label,
    this.hintText = 'inserisci..',
    this.focusColor,
    this.suffixIconConstraints,
    this.fillColor,
    this.borderWidth,
    this.focusedBorder,
    this.colorBorder,
    this.borderVisible = true,
    this.border,
    this.suffixIcon,
    this.textCapitalization = TextCapitalization.none,
    this.contentPadding,
    this.isDenseTextFormField = true,
    this.enabledBorder,
    this.disabledBorder,
    this.floatingLabelBehaviorActive,
    this.hintStyle,
    this.labelStyle,
    this.textStyle,
    this.onEditingComplete,
    this.initialValue,
    this.ddItems,
    this.inputFormatters,
    this.isVisibleBTNsave = false,
    this.controller,
    this.onPressedBTNSave,
    this.width,
    this.textColor,
    this.onTap,
    this.maxLines,
    this.height = 40,
    this.onChanged,
    this.multiLines = false,
    this.keyboardType = TextInputType.text,
    this.textInputAction = TextInputAction.next,
    this.onFieldSubmitted,
    this.onSaved,
    this.validator,
    this.counter,
    this.focusNode,
    this.autovalidateMode,
    this.maxLenght,
    this.autoFocus = false,
    this.showText = false});