BlocXTextFieldOptions constructor

const BlocXTextFieldOptions({
  1. InputDecoration? decoration,
  2. TextStyle? style,
  3. TextInputType? keyboardType,
  4. TextCapitalization textCapitalization = TextCapitalization.none,
  5. TextInputAction? textInputAction,
  6. TextAlign textAlign = TextAlign.start,
  7. int? maxLines = 1,
  8. int? minLines,
  9. bool autofocus = false,
  10. bool obscureText = false,
  11. String? labelText,
  12. TextStyle? labelStyle,
  13. String? hintText,
  14. TextStyle? hintStyle,
  15. String? helperText,
  16. TextStyle? helperStyle,
  17. String? errorText,
  18. TextStyle? errorStyle,
  19. Widget? prefixIcon,
  20. bool showClearButton = true,
  21. bool filled = true,
  22. Color? fillColor,
  23. BorderRadius? borderRadius,
  24. EdgeInsetsGeometry? contentPadding,
})

Implementation

const BlocXTextFieldOptions({
  this.decoration,
  this.style,
  this.keyboardType,
  this.textCapitalization = TextCapitalization.none,
  this.textInputAction,
  this.textAlign = TextAlign.start,
  this.maxLines = 1,
  this.minLines,
  this.autofocus = false,
  this.obscureText = false,
  // label
  this.labelText,
  this.labelStyle,
  // hint
  this.hintText,
  this.hintStyle,
  // helper
  this.helperText,
  this.helperStyle,
  // error
  this.errorText,
  this.errorStyle,
  // icons
  this.prefixIcon,
  // behavior
  this.showClearButton = true,
  // filled defaults
  this.filled = true,
  this.fillColor,
  this.borderRadius,
  this.contentPadding,
});