PITextFieldStyle constructor
PITextFieldStyle({
- TextEditingController? controller,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - double? borderWidth,
- Color? borderColor,
- Color? borderFocusColor,
- String? placeholder,
- TextStyle? placeholderStyle,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? textStyle,
- TextAlign? textAlign,
- TextInputAction? textInputAction,
- String? cancelText,
- dynamic handlerSearch()?,
- Function? onSubmitted,
- int? hintMaxLines,
- int? maxLength,
- int? maxLines = 1,
- int? minLines = 1,
- Widget? prefix,
- Widget? suffix,
- bool autoFocus = false,
- bool? isSearch = false,
- bool? showBorder = true,
- bool? showClearButton = false,
- 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();