InputField constructor

const InputField(
  1. String hint,
  2. TextEditingController controller, {
  3. Key? key,
  4. String? label,
  5. dynamic onChange(
    1. String
    )?,
  6. bool showIcon = false,
  7. bool validateEmail = false,
  8. bool validateNotEmpty = true,
})

Implementation

const InputField(this.hint, this.controller,
    {Key? key,
    this.label,
    this.onChange,
    this.showIcon = false,
    this.validateEmail = false,
    this.validateNotEmpty = true})
    : super(key: key);