XTextFormField constructor

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

Implementation

XTextFormField({
  this.label,
  this.hintText = 'inserisci..',
  this.focusColor,
  this.textAlign,
  this.suffixIconConstraints,
  this.fillColor,
  this.alignLabelWithHint,
  this.isCollapsed,
  this.filled,
  this.borderWidth,
  this.focusedBorder,
  this.enabled = true,
  this.colorBorder,
  this.scrollPhysics,
  this.scrollController,
  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,
  this.prefixIcon,
  this.prefixIconConstraints,
});