forceReload property

bool forceReload
final

Force reload the viewer.

Normally whether to reload the viewer is determined by the changes of the parameters but if you want to force reload the viewer, set this to true.

Because changing certain fields like functions on PdfViewerParams does not run hot-reload on Flutter, sometimes it is useful to force reload the viewer by setting this to true.

Implementation

final bool forceReload;