VoFieldOptions constructor

const VoFieldOptions({
  1. String? label,
  2. String? hint,
  3. String? helperText,
  4. String? errorText,
  5. Widget? prefix,
  6. Widget? prefixIcon,
  7. Widget? suffix,
  8. Widget? suffixIcon,
  9. TextCapitalization textCapitalization = TextCapitalization.none,
  10. TextAlign textAlign = TextAlign.start,
  11. int maxLines = 1,
  12. int? maxLength,
  13. FocusNode? focusNode,
  14. bool autofocus = false,
  15. bool autocorrect = false,
  16. bool enableSuggestions = false,
  17. bool readOnly = false,
  18. bool showCursor = false,
  19. bool showErrorText = false,
  20. TextInputType keyboardType = TextInputType.text,
  21. TextInputAction textInputAction = TextInputAction.next,
  22. bool obscureText = false,
  23. bool enabled = true,
  24. VoLabelBehavior labelBehavior = VoLabelBehavior.auto,
  25. Color? fillColor,
  26. InputBorder? border,
  27. InputBorder? enabledBorder,
  28. InputBorder? focusedBorder,
  29. InputBorder? errorBorder,
  30. InputBorder? disabledBorder,
})

Implementation

const VoFieldOptions({
  this.label,
  this.hint,
  this.helperText,
  this.errorText,
  this.prefix,
  this.prefixIcon,
  this.suffix,
  this.suffixIcon,
  this.textCapitalization = TextCapitalization.none,
  this.textAlign = TextAlign.start,
  this.maxLines = 1,
  this.maxLength,
  this.focusNode,
  this.autofocus = false,
  this.autocorrect = false,
  this.enableSuggestions = false,
  this.readOnly = false,
  this.showCursor = false,
  this.showErrorText = false,
  this.keyboardType = TextInputType.text,
  this.textInputAction = TextInputAction.next,
  this.obscureText = false,
  this.enabled = true,
  this.labelBehavior = VoLabelBehavior.auto,
  this.fillColor,
  this.border,
  this.enabledBorder,
  this.focusedBorder,
  this.errorBorder,
  this.disabledBorder,
});