KTextFormField constructor
KTextFormField({
- Key? key,
- required String hint,
- required TextEditingController controller,
- bool obscureText = false,
- required String? validator(),
- TextInputType type = TextInputType.text,
- bool isCohort = false,
Implementation
KTextFormField(
{Key? key,
required this.hint,
required this.controller,
this.obscureText = false,
required this.validator,
this.type = TextInputType.text,
this.isCohort = false})
: super(key: key);