AuthInput constructor

const AuthInput({
  1. Key? key,
  2. required String label,
  3. String? placeholder,
  4. String? hint,
  5. String? error,
  6. AuthInputType type = AuthInputType.text,
  7. String? value,
  8. void onInput(
    1. String
    )?,
  9. bool disabled = false,
  10. bool autofocus = false,
  11. String? name,
})

Implementation

const AuthInput({
  super.key,
  required String label,
  this.placeholder,
  this.hint,
  this.error,
  this.type = AuthInputType.text,
  this.value,
  this.onInput,
  this.disabled = false,
  this.autofocus = false,
  this.name,
}) : labelText = label;