KTextFormField constructor

KTextFormField({
  1. Key? key,
  2. required String hint,
  3. required TextEditingController controller,
  4. bool obscureText = false,
  5. required String? validator(
    1. String?
    ),
  6. TextInputType type = TextInputType.text,
  7. 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);