PasswordInput constructor

const PasswordInput({
  1. Key? key,
  2. required FocusNode focusNode,
  3. required TextEditingController controller,
  4. required void onSubmit(
    1. String value
    ),
  5. required String placeholder,
  6. Iterable<String> autofillHints = const [AutofillHints.password],
  7. String? validator(
    1. String? value
    )?,
  8. bool showVisibilityToggle = false,
})

An input that allows to enter a password.

{@macro ui.auth.widgets.internal.universal_text_form_field}

Implementation

const PasswordInput({
  super.key,
  required this.focusNode,
  required this.controller,
  required this.onSubmit,
  required this.placeholder,
  this.autofillHints = const [AutofillHints.password],
  this.validator,
  this.showVisibilityToggle = false,
});