BlocXTextFieldOptions constructor

const BlocXTextFieldOptions({
  1. InputDecoration? decoration,
  2. TextStyle? style,
  3. TextInputType? keyboardType,
  4. TextDirection? textDirection,
  5. TextCapitalization textCapitalization = TextCapitalization.none,
  6. TextInputAction? textInputAction,
  7. TextAlign textAlign = TextAlign.start,
  8. int? maxLines = 1,
  9. int? minLines,
  10. int? maxLength,
  11. List<TextInputFormatter> inputFormatters = const [],
  12. int? minLength,
  13. bool autofocus = false,
  14. bool obscureText = false,
  15. String? labelText,
  16. TextStyle? labelStyle,
  17. String? hintText,
  18. TextStyle? hintStyle,
  19. String? helperText,
  20. TextStyle? helperStyle,
  21. String? errorText,
  22. TextStyle? errorStyle,
  23. Widget? prefix,
  24. Widget? suffix,
  25. bool showClearButton = true,
  26. bool filled = true,
  27. Color? fillColor,
  28. BorderRadius? borderRadius,
  29. EdgeInsetsGeometry? contentPadding,
  30. bool enabled = true,
})

Implementation

const BlocXTextFieldOptions({
  this.decoration,
  this.style,
  this.keyboardType,
  this.textDirection,
  this.textCapitalization = TextCapitalization.none,
  this.textInputAction,
  this.textAlign = TextAlign.start,
  this.maxLines = 1,
  this.minLines,
  this.maxLength,
  this.inputFormatters = const [],
  this.minLength,
  this.autofocus = false,
  this.obscureText = false,
  this.labelText,
  this.labelStyle,
  this.hintText,
  this.hintStyle,
  this.helperText,
  this.helperStyle,
  this.errorText,
  this.errorStyle,
  this.prefix,
  this.suffix,
  this.showClearButton = true,
  this.filled = true,
  this.fillColor,
  this.borderRadius,
  this.contentPadding,
  this.enabled = true,
});