CustomInputWidget constructor

const CustomInputWidget(
  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 CustomInputWidget(
  this.label,
  this.controller, {
  super.key,
  this.type = TextInputType.text,
  this.required = false,
  this.isPassword = false,
});