XTextField constructor

const XTextField({
  1. bool? enabled,
  2. TextInputAction? textInputAction,
  3. bool isDone = false,
  4. TextInputType textInputType = TextInputType.text,
  5. int? maxLength,
  6. int minLines = 1,
  7. int maxLines = 1,
  8. bool autofocus = false,
  9. TextStyle? textStyle,
  10. String? hintText,
  11. TextStyle? hintStyle,
  12. EdgeInsetsGeometry? contentPadding,
  13. ValueChanged<String>? onChanged,
  14. ValueChanged<String>? onSubmitted,
  15. TextEditingController? controller,
  16. FocusNode? focusNode,
  17. double? height,
  18. double? minHeight,
  19. double? width,
  20. Color? color,
  21. double? radius,
  22. Color? borderColor,
  23. SpecialTextSpanBuilder? specialTextSpanBuilder,
  24. TextAlign? textAlign,
  25. Key? key,
})

Implementation

const XTextField({
  this.enabled,
  this.textInputAction,
  this.isDone = false,
  this.textInputType = TextInputType.text,
  this.maxLength,
  this.minLines = 1,
  this.maxLines = 1,
  this.autofocus = false,
  this.textStyle,
  this.hintText,
  this.hintStyle,
  this.contentPadding,
  this.onChanged,
  this.onSubmitted,
  this.controller,
  this.focusNode,
  this.height,
  this.minHeight,
  this.width,
  this.color,
  this.radius,
  this.borderColor,
  this.specialTextSpanBuilder,
  this.textAlign,
  Key? key,
}) : super(key: key);