showShareButton property
If true, shows the share button in the PDF preview toolbar.
Set to false to hide the share option, for example in kiosk or
embedded environments where sharing is not desired.
Defaults to true.
Implementation
final bool showShareButton;