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 label,
  6. Iterable<String> autofillHints = const [AutofillHints.password],
  7. String? validator(
    1. String? value
    )?,
})

Implementation

const PasswordInput({
  Key? key,
  required this.focusNode,
  required this.controller,
  required this.onSubmit,
  required this.label,
  this.autofillHints = const [AutofillHints.password],
  this.validator,
}) : super(key: key);