ProTextField constructor
const
ProTextField({
- Key? key,
- double? height,
- double? width,
- double? contentPaddingLeft,
- double? contentPaddingRight,
- int? index,
- Color? fontColor,
- double? fontSize,
- FontWeight? fontWeight,
- TextAlign? textAlignment,
- String? hint,
- Color? hintColor,
- double? hintFontSize,
- FontWeight? hintFontWeight,
- bool? obsecureText,
- bool? readOnly,
- Color? backgroundColor,
- Color? borderColor,
- double? borderWidth,
- double? borderRadius,
- bool? enableShadow,
- Color? shadowColor,
- Offset? shadowOffset,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- Widget? prefix,
- Widget? suffix,
- ValueChanged? onChanged,
- Function? onTap,
- Function? onEditingComplete,
- ValueChanged? onSubmitted,
- ValueChanged<
int?> ? getIndex, - TextEditingController? controller,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? textInputFormatters, - TextInputType? textInputType,
- TextInputAction? textInputAction,
Implementation
const ProTextField({
super.key,
this.height,
this.width,
this.contentPaddingLeft,
this.contentPaddingRight,
this.index,
this.fontColor,
this.fontSize,
this.fontWeight,
this.textAlignment,
this.hint,
this.hintColor,
this.hintFontSize,
this.hintFontWeight,
this.obsecureText,
this.readOnly,
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.borderRadius,
this.enableShadow,
this.shadowColor,
this.shadowOffset,
this.shadowBlurRadius,
this.shadowSpreadRadius,
this.prefix,
this.suffix,
this.onChanged,
this.onTap,
this.onEditingComplete,
this.onSubmitted,
this.getIndex,
this.controller,
this.focusNode,
this.textInputFormatters,
this.textInputType,
this.textInputAction,
});