XTextFormField constructor
XTextFormField({
- String? label,
- String hintText = 'inserisci..',
- Color? focusColor,
- BoxConstraints? suffixIconConstraints,
- Color? fillColor,
- double? borderWidth,
- InputBorder? focusedBorder,
- Color? colorBorder,
- bool borderVisible = true,
- InputBorder? border,
- Widget? suffixIcon,
- TextCapitalization textCapitalization = TextCapitalization.none,
- EdgeInsetsGeometry? contentPadding,
- bool? isDenseTextFormField = true,
- InputBorder? enabledBorder,
- InputBorder? disabledBorder,
- FloatingLabelBehavior? floatingLabelBehaviorActive,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
- TextStyle? textStyle,
- Function? onEditingComplete,
- String? initialValue,
- List<
String> ? ddItems, - List<
TextInputFormatter> ? inputFormatters, - bool isVisibleBTNsave = false,
- TextEditingController? controller,
- Function? onPressedBTNSave,
- double? width,
- Color? textColor,
- GestureTapCallback? onTap,
- int? maxLines,
- double? height = 40,
- ValueChanged<
String> ? onChanged, - bool multiLines = false,
- TextInputType keyboardType = TextInputType.text,
- TextInputAction textInputAction = TextInputAction.next,
- dynamic onFieldSubmitted()?,
- dynamic onSaved()?,
- String? validator()?,
- Widget? counter,
- FocusNode? focusNode,
- AutovalidateMode? autovalidateMode,
- int? maxLenght,
- bool autoFocus = false,
- 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});