CTextField constructor
CTextField({
- Key? key,
- int? maxLines,
- bool? disabled,
- bool? obscure,
- bool? readOnly,
- TextEditingController? controller,
- String? text,
- String? errText,
- dynamic onChanged(
- dynamic
- FocusNode? focusNode,
- CTextFieldType type = CTextFieldType.text,
- CTextFieldDisabledType disabledtype = CTextFieldDisabledType.fill,
- String? svg,
- Color? filledColor,
- String? suffixText,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- Border? border,
- int? flex,
- TextStyle? textStyle,
- Style? style,
- dynamic onTap()?,
- bool? visible,
- double? borderRadius,
- Alignment? alignment,
- 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});