canShowPasswordDialog property

bool canShowPasswordDialog
final

Indicates whether the password dialog can be shown when loading password protected document.

If this property is set as false, the password dialog in SfPdfViewer will not be displayed.

The password can also be passed through password property.

Defaults to true.

Implementation

final bool canShowPasswordDialog;