openBookmarkView method
void
openBookmarkView()
Displays the built-in bookmark view.
Using this method, the built-in bookmark view in the SfPdfViewer can be displayed. The bookmark view can be closed either by tapping the close icon or device's back button. ALso we can close the bookmark programmatically by using Navigator.pop(context);
Implementation
void openBookmarkView() {
_bookmarkKey.currentState?.open();
}