ProTextField constructor

const ProTextField({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. double? contentPaddingLeft,
  5. double? contentPaddingRight,
  6. int? index,
  7. Color? fontColor,
  8. double? fontSize,
  9. FontWeight? fontWeight,
  10. TextAlign? textAlignment,
  11. String? hint,
  12. Color? hintColor,
  13. double? hintFontSize,
  14. FontWeight? hintFontWeight,
  15. bool? obsecureText,
  16. bool? readOnly,
  17. Color? backgroundColor,
  18. Color? borderColor,
  19. double? borderWidth,
  20. double? borderRadius,
  21. bool? enableShadow,
  22. Color? shadowColor,
  23. Offset? shadowOffset,
  24. double? shadowBlurRadius,
  25. double? shadowSpreadRadius,
  26. Widget? prefix,
  27. Widget? suffix,
  28. ValueChanged? onChanged,
  29. Function? onTap,
  30. Function? onEditingComplete,
  31. ValueChanged? onSubmitted,
  32. ValueChanged<int?>? getIndex,
  33. TextEditingController? controller,
  34. FocusNode? focusNode,
  35. List<TextInputFormatter>? textInputFormatters,
  36. TextInputType? textInputType,
  37. 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,
});