CTextField constructor

CTextField({
  1. Key? key,
  2. int? maxLines,
  3. bool? disabled,
  4. bool? obscure,
  5. bool? readOnly,
  6. TextEditingController? controller,
  7. String? text,
  8. String? errText,
  9. dynamic onChanged(
    1. dynamic
    )?,
  10. FocusNode? focusNode,
  11. CTextFieldType type = CTextFieldType.text,
  12. CTextFieldDisabledType disabledtype = CTextFieldDisabledType.fill,
  13. String? svg,
  14. Color? filledColor,
  15. String? suffixText,
  16. EdgeInsetsGeometry? margin,
  17. double? width,
  18. double? height,
  19. EdgeInsetsGeometry? padding,
  20. Border? border,
  21. int? flex,
  22. TextStyle? textStyle,
  23. Style? style,
  24. dynamic onTap()?,
  25. bool? visible,
  26. double? borderRadius,
  27. Alignment? alignment,
  28. String? tag,
})

Implementation

CTextField(
    {super.key,
    this.maxLines,
    this.disabled,
    this.obscure,
    this.readOnly,
    this.controller,
    this.text,
    this.errText,
    this.onChanged,
    this.focusNode,
    this.type = CTextFieldType.text,
    this.disabledtype = CTextFieldDisabledType.fill,
    this.svg,
    this.filledColor,
    this.suffixText,
    super.margin,
    super.width,
    super.height,
    super.padding,
    super.border,
    super.flex,
    this.textStyle,
    super.style,
    super.onTap,
    super.visible,
    super.borderRadius,
    super.alignment,
    super.tag});