nextInstance method Null safety
Moves to the next searched text instance in the document.
Using this method, the SfPdfViewer will move to the next searched text instance in the document. If this method is called after reaching the last instance, then the first instance will be again highlighted and the process continues.
Implementation
void nextInstance() {
_notifyPropertyChangedListeners(property: 'nextInstance');
}