TextFieldPlus constructor

TextFieldPlus({
  1. bool? enabled,
  2. bool isCenter = false,
  3. bool isExpanded = false,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. double height = 50,
  7. double? width,
  8. RadiusPlus? radius,
  9. BorderPlus? border,
  10. List<ShadowPlus>? shadows,
  11. GradientPlus? gradient,
  12. SkeletonPlus? skeleton,
  13. Alignment? alignment,
  14. Color? backgroundColor,
  15. TextEditingController? controller,
  16. TextInputType? textInputType,
  17. TextCapitalization textCapitalization = TextCapitalization.none,
  18. TextAlign textAlign = TextAlign.start,
  19. String? mask,
  20. int? maxLength,
  21. int? maxLines,
  22. bool autocorrect = false,
  23. bool autofocus = false,
  24. bool obscureText = false,
  25. bool onlyNumbers = false,
  26. FocusNode? focusNode,
  27. dynamic onChanged(
    1. String
    )?,
  28. bool readOnly = false,
  29. Color? cursorColor,
  30. TextAlignVertical textAlignVertical = TextAlignVertical.center,
  31. Color? textColor,
  32. double? fontSize,
  33. FontWeight? fontWeight,
  34. FontStyle? fontStyle,
  35. double? letterSpacing,
  36. double? wordSpacing,
  37. String? fontFamily,
  38. TextDecorationPlus? textDecorationPlus,
  39. TextPlus? placeholder,
  40. double cursorRadius = 2,
  41. double cursorWidth = 2,
  42. bool showCursor = true,
  43. Widget? prefixWidget,
  44. Widget? suffixWidget,
  45. dynamic onTap()?,
  46. dynamic onEditingComplete()?,
  47. dynamic onSubmitted(
    1. String
    )?,
  48. TextInputAction textInputAction = TextInputAction.done,
})

Implementation

TextFieldPlus({
  this.enabled,
  this.isCenter = false,
  this.isExpanded = false,
  this.padding,
  this.margin,
  this.height = 50,
  this.width,
  this.radius,
  this.border,
  this.shadows,
  this.gradient,
  this.skeleton,
  this.alignment,
  this.backgroundColor,
  this.controller,
  this.textInputType,
  this.textCapitalization = TextCapitalization.none,
  this.textAlign = TextAlign.start,
  this.mask,
  this.maxLength,
  this.maxLines,
  this.autocorrect = false,
  this.autofocus = false,
  this.obscureText = false,
  this.onlyNumbers = false,
  this.focusNode,
  this.onChanged,
  this.readOnly = false,
  this.cursorColor,
  this.textAlignVertical = TextAlignVertical.center,
  this.textColor,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.letterSpacing,
  this.wordSpacing,
  this.fontFamily,
  this.textDecorationPlus,
  this.placeholder,
  this.cursorRadius = 2,
  this.cursorWidth = 2,
  this.showCursor = true,
  this.prefixWidget,
  this.suffixWidget,
  this.onTap,
  this.onEditingComplete,
  this.onSubmitted,
  this.textInputAction = TextInputAction.done,
});