XField constructor
const
XField({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? labelText,
- Widget? suffixIcon,
- Widget? prefixIcon,
- String? hintText,
- int? limit,
- bool? obscure = false,
- TextAlignVertical? textAlignVertical = TextAlignVertical.bottom,
- bool? underline = true,
- bool? autofocus = false,
- int? maxLines = 1,
- Size? suffixsize,
- Size? prefixsize,
Implementation
const XField({
super.key,
this.controller,
this.focusNode,
this.labelText,
this.suffixIcon,
this.prefixIcon,
this.hintText,
this.limit,
this.obscure = false,
this.textAlignVertical = TextAlignVertical.bottom,
this.underline = true,
this.autofocus = false,
this.maxLines = 1,
this.suffixsize,
this.prefixsize,
});