XTextField constructor
const
XTextField({
- bool? enabled,
- TextInputAction? textInputAction,
- bool isDone = false,
- TextInputType textInputType = TextInputType.text,
- int? maxLength,
- int minLines = 1,
- int maxLines = 1,
- bool autofocus = false,
- TextStyle? textStyle,
- String? hintText,
- TextStyle? hintStyle,
- EdgeInsetsGeometry? contentPadding,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - TextEditingController? controller,
- FocusNode? focusNode,
- double? height,
- double? minHeight,
- double? width,
- Color? color,
- double? radius,
- Color? borderColor,
- SpecialTextSpanBuilder? specialTextSpanBuilder,
- TextAlign? textAlign,
- 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);