CFormfield constructor

CFormfield({
  1. Key? key,
  2. String? title,
  3. dynamic onChanged(
    1. dynamic
    )?,
  4. String text = '',
  5. String? buttonText,
  6. TextEditingController? controller,
  7. void onPressed()?,
  8. bool disabled = false,
  9. bool? visible,
  10. bool obscure = false,
  11. String? errText,
  12. FocusNode? focusNode,
  13. bool readOnly = false,
  14. CTextFieldType type = CTextFieldType.text,
})

Implementation

CFormfield(
    {super.key,
    this.title,
    this.onChanged,
    this.text = '',
    this.buttonText,
    this.controller,
    this.onPressed,
    this.disabled = false,
    super.visible,
    this.obscure = false,
    this.errText,
    this.focusNode,
    this.readOnly = false,
    this.type = CTextFieldType.text});