CustomInputField constructor

const CustomInputField(
  1. String label,
  2. TextEditingController controller, {
  3. Key? key,
  4. TextInputType type = TextInputType.text,
  5. bool required = false,
  6. bool isPassword = false,
})

This is a custom widget for text input

Implementation

const CustomInputField(this.label, this.controller, {super.key, this.type = TextInputType.text, this.required = false, this.isPassword = false});