PasswordField constructor

const PasswordField({
  1. Key? key,
  2. String? initialValue,
  3. FormFieldValidator<String>? validator,
  4. ValueChanged<String>? onFieldSubmitted,
  5. TextInputAction? textInputAction,
  6. dynamic onEditingComplete()?,
  7. TextEditingController? controller,
  8. bool enabled = true,
  9. bool autofocus = false,
  10. required String labelText,
  11. required dynamic onChanged(
    1. String?
    ),
  12. TextInputType? keyboardType = TextInputType.text,
  13. GestureTapCallback? onTap,
})

Implementation

const PasswordField({
  super.key,
  this.initialValue,
  this.validator,
  this.onFieldSubmitted,
  this.textInputAction,
  this.onEditingComplete,
  this.controller,
  this.enabled = true,
  this.autofocus = false,
  required this.labelText,
  required this.onChanged,
  this.keyboardType = TextInputType.text,
  this.onTap,
});