XField constructor

const XField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. String? labelText,
  5. Widget? suffixIcon,
  6. Widget? prefixIcon,
  7. String? hintText,
  8. int? limit,
  9. bool? obscure = false,
  10. TextAlignVertical? textAlignVertical = TextAlignVertical.bottom,
  11. bool? underline = true,
  12. bool? autofocus = false,
  13. int? maxLines = 1,
  14. Size? suffixsize,
  15. 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,
});