PITextFieldStyle constructor

PITextFieldStyle({
  1. TextEditingController? controller,
  2. TextInputType? keyboardType,
  3. List<TextInputFormatter>? inputFormatters,
  4. double? borderWidth,
  5. Color? borderColor,
  6. Color? borderFocusColor,
  7. String? placeholder,
  8. TextStyle? placeholderStyle,
  9. EdgeInsetsGeometry? contentPadding,
  10. TextStyle? textStyle,
  11. TextAlign? textAlign,
  12. TextInputAction? textInputAction,
  13. String? cancelText,
  14. dynamic handlerSearch(
    1. String
    )?,
  15. Function? onSubmitted,
  16. int? hintMaxLines,
  17. int? maxLength,
  18. int? maxLines = 1,
  19. int? minLines = 1,
  20. Widget? prefix,
  21. Widget? suffix,
  22. bool autoFocus = false,
  23. bool? isSearch = false,
  24. bool? showBorder = true,
  25. bool? showClearButton = false,
  26. bool? showPrefixIcon = false,
})

Implementation

PITextFieldStyle({
  this.controller,
  this.keyboardType,
  this.inputFormatters,
  this.borderWidth,
  this.borderColor,
  this.borderFocusColor,
  this.placeholder,
  this.placeholderStyle,
  this.contentPadding,
  this.textStyle,
  this.textAlign,
  this.textInputAction,
  this.cancelText,
  this.handlerSearch,
  this.onSubmitted,
  this.hintMaxLines,
  this.maxLength,
  this.maxLines = 1,
  this.minLines = 1,
  this.prefix,
  this.suffix,
  this.autoFocus = false,
  this.isSearch = false,
  this.showBorder = true,
  this.showClearButton = false,
  this.showPrefixIcon = false,
}) : super();